Pagini recente » Borderou de evaluare (job #2122595) | Borderou de evaluare (job #1269739) | Borderou de evaluare (job #1381739) | Borderou de evaluare (job #2095944) | Borderou de evaluare (job #1853148)
Borderou de evaluare (job #1853148)
Raport evaluator
Compilare:
user.cpp: In function ‘void getCars(int)’:
user.cpp:64:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(*p != NULL)
^
user.cpp:66:34: warning: NULL used in arithmetic [-Wpointer-arith]
while(*p == ' ' && *p != NULL) ++p;
^
user.cpp: In function ‘int main()’:
user.cpp:104: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:105: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:108: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:116:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cctZOYIF.o: In function `main':
user.cpp:(.text.startup+0xbe): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 8108kb | OK | 10 |
2 | 12ms | 8104kb | OK | 10 |
3 | 12ms | 8120kb | Partial incorect | 5 |
4 | 12ms | 8132kb | OK | 10 |
5 | 12ms | 8232kb | Partial incorect | 5 |
6 | 16ms | 8332kb | Partial incorect | 5 |
7 | 24ms | 8512kb | Partial incorect | 5 |
8 | 44ms | 9064kb | Partial incorect | 5 |
9 | 20ms | 8104kb | OK | 10 |
10 | 44ms | 8868kb | OK | 10 |
Punctaj total | 75 |