Pagini recente » Borderou de evaluare (job #485672) | Borderou de evaluare (job #2900008) | Borderou de evaluare (job #513990) | Borderou de evaluare (job #364233) | Borderou de evaluare (job #1282559)
Borderou de evaluare (job #1282559)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:80:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("smart.in", "r", stdin);
^
user.cpp:81:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("smart.out", "w", stdout);
^
user.cpp:83:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &N, &M);
^
user.cpp:87:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:87:20:
/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/ccc0ED6r.o: In function `main':
user.cpp:(.text.startup+0x93): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 108ms | 17656kb | Incorect | 0 |
2 | 176ms | 11660kb | Incorect | 0 |
3 | 28ms | 9828kb | OK | 10 |
4 | 288ms | 28512kb | Incorect | 0 |
5 | 72ms | 13664kb | Incorect | 0 |
6 | Depăşit | 17268kb | Time limit exceeded. | 0 |
7 | 84ms | 11388kb | Incorect | 0 |
8 | 64ms | 13628kb | Incorect | 0 |
9 | 516ms | 34224kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 296ms | 37012kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |