Pagini recente » Borderou de evaluare (job #2247861) | Borderou de evaluare (job #44351) | Borderou de evaluare (job #1137795) | Borderou de evaluare (job #2383489) | Borderou de evaluare (job #1676762)
Borderou de evaluare (job #1676762)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
user.cpp:57:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:61:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:64:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:66:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccVqWWvP.o: In function `main':
user.cpp:(.text.startup+0x157): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 12ms | 448kb | OK | 10 |
6 | 0ms | 272kb | Killed by signal 8(SIGFPE). | 0 |
7 | 56ms | 916kb | OK | 10 |
8 | 88ms | 1268kb | OK | 10 |
9 | 4ms | 336kb | OK | 10 |
10 | 4ms | 328kb | OK | 10 |
Punctaj total | 90 |