Pagini recente » Borderou de evaluare (job #550618) | Borderou de evaluare (job #2781433) | Borderou de evaluare (job #1576248) | Borderou de evaluare (job #2362095) | Borderou de evaluare (job #1715980)
Borderou de evaluare (job #1715980)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:62:34: 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:63:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:67:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void solve()’:
user.cpp:76:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:79:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:88:36: 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);
^
/tmp/ccCjTY42.o: In function `read()':
user.cpp:(.text+0x1d9): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 9108kb | OK | 10 |
2 | 32ms | 9512kb | OK | 10 |
3 | 52ms | 11192kb | OK | 10 |
4 | 92ms | 22648kb | OK | 10 |
5 | Depăşit | 75072kb | Time limit exceeded. | 0 |
6 | Depăşit | 78940kb | Time limit exceeded. | 0 |
7 | Depăşit | 133316kb | Time limit exceeded. | 0 |
8 | Depăşit | 134780kb | Time limit exceeded. | 0 |
9 | Depăşit | 129280kb | Time limit exceeded. | 0 |
10 | Depăşit | 133744kb | Time limit exceeded. | 0 |
Punctaj total | 40 |