Borderou de evaluare (job #1853469)
Raport evaluator
Compilare:
user.cpp: In function ‘void getCars(int)’:
user.cpp:81:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(*p != NULL)
^
user.cpp:83:34: warning: NULL used in arithmetic [-Wpointer-arith]
while(*p == ' ' && *p != NULL) ++p;
^
user.cpp: In function ‘int main()’:
user.cpp:133:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.in", "r", stdin);
^
user.cpp:134:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.out", "w", stdout);
^
user.cpp:138:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n", &n, &A, &R, &K);
^
user.cpp:147:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccx4Taoi.o: In function `main':
user.cpp:(.text.startup+0xc3): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 8172kb | OK | 10 |
2 | 8ms | 8172kb | OK | 10 |
3 | 8ms | 8176kb | Partial incorect | 5 |
4 | 12ms | 8188kb | OK | 10 |
5 | 12ms | 8264kb | Partial incorect | 5 |
6 | 16ms | 8352kb | Partial incorect | 5 |
7 | 20ms | 8488kb | Partial incorect | 5 |
8 | 40ms | 8924kb | OK | 10 |
9 | 20ms | 8160kb | OK | 10 |
10 | 40ms | 8936kb | OK | 10 |
Punctaj total | 80 |