Pagini recente » Borderou de evaluare (job #1782561) | Borderou de evaluare (job #2886942) | Borderou de evaluare (job #2115979) | Borderou de evaluare (job #3296275) | Borderou de evaluare (job #1837076)
Borderou de evaluare (job #1837076)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:205:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:223:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:240:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:247:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:252:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:184:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.in", "r", stdin);
^
user.cpp:185:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.out", "w", stdout);
^
user.cpp:188:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:206:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:224:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:241:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:248:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:253:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccI6tAvQ.o: In function `main':
user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 10 |
| 2 | 4ms | 304kb | Incorect | 0 |
| 3 | 52ms | 692kb | Incorect | 0 |
| 4 | 76ms | 1168kb | Incorect | 0 |
| 5 | 156ms | 1928kb | Incorect | 0 |
| 6 | 248ms | 2864kb | Incorect | 0 |
| 7 | 444ms | 5604kb | Incorect | 0 |
| 8 | 408ms | 3376kb | Incorect | 0 |
| 9 | 180ms | 876kb | Incorect | 0 |
| 10 | 464ms | 5612kb | Incorect | 0 |
| Punctaj total | 10 |