Pagini recente » Borderou de evaluare (job #1745615) | Borderou de evaluare (job #938773) | Borderou de evaluare (job #2952472) | Borderou de evaluare (job #2732243) | Borderou de evaluare (job #1694537)
Borderou de evaluare (job #1694537)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort3.in", "r", stdin);
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort3.out", "w", stdout);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:18:37: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) 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:18:37:
/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/ccaeZGX4.o: In function `main':
user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 5 |
2 | 0ms | 292kb | OK | 5 |
3 | 0ms | 364kb | OK | 5 |
4 | 0ms | 360kb | OK | 5 |
5 | 0ms | 332kb | OK | 5 |
6 | 0ms | 356kb | OK | 5 |
7 | Depăşit | 1488kb | Time limit exceeded. | 0 |
8 | Depăşit | 1484kb | Time limit exceeded. | 0 |
9 | Depăşit | 1456kb | Time limit exceeded. | 0 |
10 | Depăşit | 1236kb | Time limit exceeded. | 0 |
11 | Depăşit | 1436kb | Time limit exceeded. | 0 |
12 | 380ms | 1132kb | OK | 5 |
13 | Depăşit | 1292kb | Time limit exceeded. | 0 |
14 | Depăşit | 1432kb | Time limit exceeded. | 0 |
15 | Depăşit | 1484kb | Time limit exceeded. | 0 |
16 | Depăşit | 1380kb | Time limit exceeded. | 0 |
17 | Depăşit | 1496kb | Time limit exceeded. | 0 |
18 | Depăşit | 1312kb | Time limit exceeded. | 0 |
19 | Depăşit | 1380kb | Time limit exceeded. | 0 |
20 | Depăşit | 1480kb | Time limit exceeded. | 0 |
Punctaj total | 35 |