Pagini recente » Borderou de evaluare (job #3266126) | Borderou de evaluare (job #1187863) | Borderou de evaluare (job #3128605) | Cod sursa (job #565369) | Borderou de evaluare (job #1338967)
Borderou de evaluare (job #1338967)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.in","r",stdin);
^
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.out","w",stdout);
^
user.cpp:41:23: 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:44:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dbsir[i]);
^
user.cpp:49:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c\n",&a);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:2:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:44:23:
/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/ccXMkg60.o: In function `main':
user.cpp:(.text.startup+0x86): 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 | 312kb | OK | 5 |
| 3 | 0ms | 452kb | OK | 5 |
| 4 | 0ms | 528kb | OK | 5 |
| 5 | 4ms | 864kb | OK | 5 |
| 6 | 0ms | 524kb | OK | 5 |
| 7 | 60ms | 1340kb | OK | 5 |
| 8 | 72ms | 1364kb | OK | 5 |
| 9 | 308ms | 2924kb | OK | 5 |
| 10 | 388ms | 2912kb | OK | 5 |
| 11 | 364ms | 2920kb | OK | 5 |
| 12 | 256ms | 2780kb | OK | 5 |
| 13 | 256ms | 2820kb | OK | 5 |
| 14 | 288ms | 2872kb | OK | 5 |
| 15 | 128ms | 1636kb | OK | 5 |
| 16 | 320ms | 2824kb | OK | 5 |
| 17 | 240ms | 2972kb | OK | 5 |
| 18 | 372ms | 2984kb | OK | 5 |
| 19 | 356ms | 2936kb | OK | 5 |
| 20 | 432ms | 2976kb | OK | 5 |
| Punctaj total | 100 |