Pagini recente » Borderou de evaluare (job #1951205) | Borderou de evaluare (job #62586) | Borderou de evaluare (job #1751792) | Borderou de evaluare (job #1533288) | Borderou de evaluare (job #1818585)
Borderou de evaluare (job #1818585)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:138:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld2d.in", "r", stdin);
^
user.cpp:139:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld2d.out", "w", stdout);
^
user.cpp:144:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:151:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[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:151:21:
/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/ccH7lTCZ.o: In function `main':
user.cpp:(.text.startup+0xba): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 564kb | OK | 10 | 10 |
2 | 4ms | 1748kb | OK | 10 | 10 |
3 | 12ms | 1772kb | OK | 10 | 10 |
4 | Depăşit | 10688kb | Time limit exceeded. | 0 | 0 |
5 | 116ms | 10704kb | OK | 10 |
6 | 480ms | 29128kb | OK | 10 | 0 |
7 | Depăşit | 29120kb | Time limit exceeded. | 0 |
8 | Depăşit | 29132kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 29124kb | Time limit exceeded. | 0 |
10 | Depăşit | 29124kb | Time limit exceeded. | 0 |
Punctaj total | 30 |