Tiltai ir tuneliai
- [1] 2017-10-07 12:44 (60)
- [2] 2017-10-07 12:45 (0)
- [3] 2017-10-07 12:53 (60)
- [4] 2017-10-07 13:00 (60)
- [5] 2017-10-07 13:09 (60)
- [6] 2017-10-07 13:12 (60)
- [7] 2017-10-07 13:18 (0)
- [8] 2017-10-07 13:21 (60)
- [9] 2017-10-07 13:23 (60)
- [10] 2017-10-07 13:37 (0)
- [11] 2017-10-07 13:38 (0)
- [12] 2017-10-07 13:39 (40)
- [13] 2017-10-07 13:58 (20)
- [14] 2017-10-07 14:01 (40)
- [15] 2017-10-07 14:03 (0)
- [16] 2017-10-07 14:04 (40)
- [17] 2017-10-07 14:20 (60)
- [18] 2017-10-07 14:45 (60)
- [19] 2017-10-07 14:48 (100)
Taškai: 60
Compile: OK
tiltai.cpp: In function ‘bool compare(char*, char*)’: tiltai.cpp:23:29: warning: NULL used in arithmetic [-Wpointer-arith] for(int i = 0; c1[i] != NULL || c2[i] != NULL; i++){ ^ tiltai.cpp:23:46: warning: NULL used in arithmetic [-Wpointer-arith] for(int i = 0; c1[i] != NULL || c2[i] != NULL; i++){ ^ tiltai.cpp:24:21: warning: NULL used in arithmetic [-Wpointer-arith] if(c1[i] == NULL || c2[i] == NULL){ ^ tiltai.cpp:24:38: warning: NULL used in arithmetic [-Wpointer-arith] if(c1[i] == NULL || c2[i] == NULL){ ^ tiltai.cpp: In function ‘int main()’: tiltai.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &n); ^ tiltai.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", cstr1); ^ tiltai.cpp:47:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", cstr2); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.0 s | ok |
3 | True | 0.0 s | ok |
4 | False | 1.084 s | Time limit exceeded (wall clock) |
5 | False | 1.08 s | Time limit exceeded (wall clock) |