Pagini recente » Borderou de evaluare (job #1483065) | Borderou de evaluare (job #3258174) | Borderou de evaluare (job #2592941) | Borderou de evaluare (job #539377) | Borderou de evaluare (job #2015113)
Borderou de evaluare (job #2015113)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:85:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:88:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:92:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:104:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:106:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccZJEcK5.o: In function `main':
user.cpp:(.text.startup+0xaf): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 344kb | OK | 10 |
3 | 0ms | 408kb | OK | 10 |
4 | 0ms | 844kb | OK | 10 |
5 | 4ms | 1552kb | OK | 10 |
6 | 4ms | 1656kb | OK | 10 |
7 | 16ms | 5396kb | OK | 10 |
8 | 16ms | 5484kb | OK | 10 |
9 | 20ms | 5528kb | OK | 10 |
10 | 16ms | 5304kb | OK | 10 |
Punctaj total | 100 |