Pagini recente » Borderou de evaluare (job #519698) | Borderou de evaluare (job #1881409) | Borderou de evaluare (job #1696528) | Borderou de evaluare (job #2922219) | Borderou de evaluare (job #1215517)
Borderou de evaluare (job #1215517)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.in", "r", stdin);
^
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.out", "w", stdout);
^
user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:42:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[0]);
^
user.cpp:46:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]);
^
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:46: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/cctC1AoV.o: In function `main':
user.cpp:(.text.startup+0xbc): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | OK | 5 |
| 2 | 0ms | 308kb | OK | 5 |
| 3 | 0ms | 312kb | OK | 5 |
| 4 | 0ms | 312kb | OK | 5 |
| 5 | 0ms | 468kb | OK | 5 |
| 6 | 0ms | 468kb | OK | 5 |
| 7 | 0ms | 468kb | OK | 5 |
| 8 | 0ms | 472kb | OK | 5 |
| 9 | Depăşit | 3520kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3960kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 3964kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 4160kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 4160kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 3264kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 3396kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 3748kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 4160kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 4156kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 4116kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 3868kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |