Pagini recente » Borderou de evaluare (job #1606760) | Borderou de evaluare (job #1063310) | Borderou de evaluare (job #238470) | Borderou de evaluare (job #2589888) | Borderou de evaluare (job #1726473)
Borderou de evaluare (job #1726473)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:10: warning: unused variable ‘flag’ [-Wunused-variable]
bool flag;
^
user.cpp:11: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:12: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:18:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ",&n,&m);
^
user.cpp:20:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(mx[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:20:22:
/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/ccckOOCb.o: In function `main':
user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 0ms | 468kb | Incorect | 0 |
3 | 0ms | 472kb | Incorect | 0 |
4 | 0ms | 464kb | Incorect | 0 |
5 | 0ms | 624kb | Incorect | 0 |
6 | 0ms | 628kb | Incorect | 0 |
7 | 0ms | 620kb | Incorect | 0 |
8 | 0ms | 620kb | Incorect | 0 |
9 | 20ms | 3720kb | Incorect | 0 |
10 | 28ms | 4164kb | Incorect | 0 |
11 | 28ms | 4168kb | Incorect | 0 |
12 | 32ms | 4360kb | Incorect | 0 |
13 | 32ms | 4360kb | Incorect | 0 |
14 | 28ms | 3468kb | Incorect | 0 |
15 | 28ms | 3596kb | Incorect | 0 |
16 | 32ms | 3944kb | Incorect | 0 |
17 | 36ms | 4364kb | Incorect | 0 |
18 | 36ms | 4356kb | Incorect | 0 |
19 | 36ms | 4316kb | Incorect | 0 |
20 | 32ms | 4072kb | Incorect | 0 |
Punctaj total | 0 |