Pagini recente » Borderou de evaluare (job #2014907) | Borderou de evaluare (job #1783389) | Borderou de evaluare (job #2528223) | Borderou de evaluare (job #868886) | Borderou de evaluare (job #2014844)
Borderou de evaluare (job #2014844)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59: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:60: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:63:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:67:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:76:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:78:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc2sZYLV.o: In function `main':
user.cpp:(.text.startup+0xbf): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 492kb | OK | 10 |
2 | 4ms | 2072kb | OK | 10 |
3 | 24ms | 9824kb | OK | 10 |
4 | 148ms | 61796kb | OK | 10 |
5 | Depăşit | 120892kb | Time limit exceeded. | 0 |
6 | Depăşit | 117592kb | Time limit exceeded. | 0 |
7 | Depăşit | 119972kb | Time limit exceeded. | 0 |
8 | Depăşit | 118124kb | Time limit exceeded. | 0 |
9 | Depăşit | 119836kb | Time limit exceeded. | 0 |
10 | Depăşit | 117992kb | Time limit exceeded. | 0 |
Punctaj total | 40 |