Pagini recente » Cod sursa (job #1516671) | Cod sursa (job #2094486) | Cod sursa (job #2136655) | Cod sursa (job #799625) | Borderou de evaluare (job #1837215)
Borderou de evaluare (job #1837215)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:218:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:230:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:242:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:251:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:258:14: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0] = NULL;
^
user.cpp:202: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:203: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:207:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:219:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:231:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:243:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:252:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:259:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccEBZw8l.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 | 244kb | OK | 10 |
2 | 4ms | 308kb | Incorect | 0 |
3 | 56ms | 784kb | Incorect | 0 |
4 | 88ms | 1380kb | Incorect | 0 |
5 | 180ms | 2328kb | Incorect | 0 |
6 | 304ms | 3504kb | Incorect | 0 |
7 | 528ms | 6920kb | Incorect | 0 |
8 | 476ms | 4144kb | Incorect | 0 |
9 | 196ms | 1024kb | Incorect | 0 |
10 | 568ms | 6940kb | OK | 10 |
Punctaj total | 20 |