Pagini recente » Borderou de evaluare (job #1971423) | Cod sursa (job #3345501) | Borderou de evaluare (job #1404297) | Borderou de evaluare (job #1931536) | Borderou de evaluare (job #2059039)
Borderou de evaluare (job #2059039)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:32: 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:19:34: 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:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:24:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:24:21:
/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/ccT02icD.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 472kb | OK | 5 |
| 2 | 0ms | 492kb | OK | 5 |
| 3 | 0ms | 492kb | OK | 5 |
| 4 | 0ms | 492kb | OK | 5 |
| 5 | 0ms | 644kb | OK | 5 |
| 6 | 0ms | 648kb | OK | 5 |
| 7 | 0ms | 652kb | OK | 5 |
| 8 | 0ms | 652kb | OK | 5 |
| 9 | 64ms | 3736kb | OK | 5 |
| 10 | 84ms | 4180kb | OK | 5 |
| 11 | 76ms | 4184kb | OK | 5 |
| 12 | 100ms | 4372kb | OK | 5 |
| 13 | 92ms | 4376kb | OK | 5 |
| 14 | 84ms | 3480kb | OK | 5 |
| 15 | 88ms | 3620kb | OK | 5 |
| 16 | 96ms | 3964kb | OK | 5 |
| 17 | Depăşit | 4372kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 4376kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 4332kb | Time limit exceeded. | 0 |
| 20 | 100ms | 4088kb | OK | 5 |
| Punctaj total | 85 |