Pagini recente » Borderou de evaluare (job #980326) | Borderou de evaluare (job #2268733) | Borderou de evaluare (job #2472493) | Borderou de evaluare (job #1967506) | Borderou de evaluare (job #1621270)
Borderou de evaluare (job #1621270)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in", "r", stdin);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp: In function ‘void solve()’:
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in", "r", stdin);
^
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.out", "w", stdout);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:32:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp: In function ‘void read()’:
user.cpp:14:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ch > c && i > 1)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 40ms | 432kb | OK | 10 |
5 | 292ms | 436kb | OK | 10 |
6 | 664ms | 432kb | OK | 10 |
7 | Depăşit | 416kb | Time limit exceeded. | 0 |
8 | Depăşit | 416kb | Time limit exceeded. | 0 |
9 | Depăşit | 416kb | Time limit exceeded. | 0 |
10 | Depăşit | 420kb | Time limit exceeded. | 0 |
Punctaj total | 60 |