Pagini recente » Borderou de evaluare (job #666956) | Borderou de evaluare (job #3131654) | Borderou de evaluare (job #220298) | Borderou de evaluare (job #1502070) | Borderou de evaluare (job #2026930)
Borderou de evaluare (job #2026930)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in", "r", stdin);
^
user.cpp:62:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out", "w", stdout);
^
user.cpp:64:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:66:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[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:66:19:
/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/cch8K5Pu.o: In function `main':
user.cpp:(.text.startup+0x74): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 5 |
2 | 0ms | 276kb | OK | 5 |
3 | 0ms | 288kb | OK | 5 |
4 | 0ms | 288kb | OK | 5 |
5 | 0ms | 292kb | OK | 5 |
6 | 0ms | 292kb | OK | 5 |
7 | 8ms | 364kb | OK | 5 |
8 | 12ms | 368kb | OK | 5 |
9 | 8ms | 380kb | OK | 5 |
10 | 12ms | 388kb | OK | 5 |
11 | 12ms | 392kb | OK | 5 |
12 | 12ms | 396kb | OK | 5 |
13 | 52ms | 604kb | OK | 5 |
14 | 32ms | 500kb | OK | 5 |
15 | 40ms | 532kb | OK | 5 |
16 | 44ms | 604kb | OK | 5 |
17 | Depăşit | 1876kb | Time limit exceeded. | 0 |
18 | Depăşit | 1592kb | Time limit exceeded. | 0 |
19 | Depăşit | 1872kb | Time limit exceeded. | 0 |
20 | Depăşit | 1868kb | Time limit exceeded. | 0 |
Punctaj total | 80 |