Pagini recente » Borderou de evaluare (job #2082277) | Borderou de evaluare (job #2839745) | Borderou de evaluare (job #2151811) | Borderou de evaluare (job #2878718) | Borderou de evaluare (job #1468210)
Borderou de evaluare (job #1468210)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:50:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:53:46: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < N; ++i) gets(A + 64 * i);
^
user.cpp:76:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &M);
^
user.cpp:78:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A2);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:3:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:53:46:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccNZdFlW.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x408): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 4788kb | Incorect | 0 |
2 | 16ms | 2680kb | Incorect | 0 |
3 | 48ms | 3524kb | OK | 10 |
4 | 76ms | 3528kb | Incorect | 0 |
5 | 96ms | 5168kb | Incorect | 0 |
6 | 148ms | 6820kb | OK | 10 |
7 | 200ms | 8456kb | OK | 10 |
8 | 248ms | 8600kb | OK | 10 |
9 | 248ms | 8596kb | OK | 10 |
10 | 188ms | 7396kb | Incorect | 0 |
Punctaj total | 50 |