Pagini recente » Borderou de evaluare (job #1731635) | Borderou de evaluare (job #1490232) | Borderou de evaluare (job #1471805) | Borderou de evaluare (job #205639) | Borderou de evaluare (job #1639179)
Borderou de evaluare (job #1639179)
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/ccF8kmJ6.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 | 332kb | OK | 5 |
2 | 0ms | 400kb | OK | 5 |
3 | 0ms | 400kb | OK | 5 |
4 | 0ms | 404kb | OK | 5 |
5 | 0ms | 872kb | OK | 5 |
6 | 0ms | 876kb | OK | 5 |
7 | 0ms | 888kb | OK | 5 |
8 | 0ms | 904kb | Incorect | 0 |
9 | 28ms | 16700kb | OK | 5 |
10 | 36ms | 18924kb | OK | 5 |
11 | 32ms | 18932kb | OK | 5 |
12 | 40ms | 19904kb | OK | 5 |
13 | 40ms | 19908kb | OK | 5 |
14 | 32ms | 15416kb | OK | 5 |
15 | 32ms | 16104kb | OK | 5 |
16 | 36ms | 17840kb | OK | 5 |
17 | 44ms | 19908kb | OK | 5 |
18 | 44ms | 19912kb | OK | 5 |
19 | 44ms | 19692kb | OK | 5 |
20 | 40ms | 18464kb | OK | 5 |
Punctaj total | 95 |