Pagini recente » Borderou de evaluare (job #1579579) | Borderou de evaluare (job #1564400) | Monitorul de evaluare | Cod sursa (job #1662801) | Borderou de evaluare (job #1639106)
Borderou de evaluare (job #1639106)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13: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:14: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:16: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:18:40: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) gets(s[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:18:40:
/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/ccMB674l.o: In function `main':
user.cpp:(.text.startup+0x8a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 336kb | OK | 5 |
| 2 | 0ms | 396kb | OK | 5 |
| 3 | 0ms | 400kb | OK | 5 |
| 4 | 0ms | 404kb | OK | 5 |
| 5 | 0ms | 868kb | OK | 5 |
| 6 | 0ms | 880kb | OK | 5 |
| 7 | 0ms | 888kb | OK | 5 |
| 8 | 0ms | 900kb | Incorect | 0 |
| 9 | 32ms | 16700kb | Incorect | 0 |
| 10 | 40ms | 18932kb | Incorect | 0 |
| 11 | 36ms | 18932kb | Incorect | 0 |
| 12 | 44ms | 19904kb | Incorect | 0 |
| 13 | 44ms | 19904kb | Incorect | 0 |
| 14 | 36ms | 15416kb | Incorect | 0 |
| 15 | 36ms | 16100kb | Incorect | 0 |
| 16 | 40ms | 17836kb | Incorect | 0 |
| 17 | 48ms | 19908kb | Incorect | 0 |
| 18 | 48ms | 19908kb | Incorect | 0 |
| 19 | 44ms | 19688kb | Incorect | 0 |
| 20 | 44ms | 18456kb | Incorect | 0 |
| Punctaj total | 35 |