Pagini recente » Borderou de evaluare (job #3337439) | Borderou de evaluare (job #1999421) | Borderou de evaluare (job #1592785) | Borderou de evaluare (job #1882883) | Borderou de evaluare (job #1789439)
Borderou de evaluare (job #1789439)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17: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:18: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:19:26: 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:20:32: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;i++) gets(v[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:20:32:
/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/ccFeV7tj.o: In function `main':
user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | OK | 5 |
| 2 | 0ms | 308kb | OK | 5 |
| 3 | 0ms | 312kb | OK | 5 |
| 4 | 0ms | 312kb | OK | 5 |
| 5 | 0ms | 464kb | OK | 5 |
| 6 | 0ms | 468kb | OK | 5 |
| 7 | 0ms | 468kb | OK | 5 |
| 8 | 0ms | 472kb | OK | 5 |
| 9 | 28ms | 3560kb | OK | 5 |
| 10 | 36ms | 4012kb | OK | 5 |
| 11 | 32ms | 4008kb | OK | 5 |
| 12 | 44ms | 4204kb | OK | 5 |
| 13 | 40ms | 4200kb | OK | 5 |
| 14 | 36ms | 3308kb | OK | 5 |
| 15 | 40ms | 3440kb | OK | 5 |
| 16 | 40ms | 3784kb | OK | 5 |
| 17 | 48ms | 4200kb | OK | 5 |
| 18 | 52ms | 4200kb | OK | 5 |
| 19 | 44ms | 4160kb | OK | 5 |
| 20 | 44ms | 3908kb | OK | 5 |
| Punctaj total | 100 |