Pagini recente » Borderou de evaluare (job #1081146) | Borderou de evaluare (job #3045671) | Borderou de evaluare (job #971157) | Borderou de evaluare (job #446438) | Borderou de evaluare (job #1501041)
Borderou de evaluare (job #1501041)
Raport evaluator
Compilare:
user.cpp: In function ‘int ok(int, int)’:
user.cpp:25:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void read()’:
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
user.cpp:34:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:38:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[nr]);
^
user.cpp: In function ‘void write()’:
user.cpp:74:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:38:20:
/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/cct1EBJM.o: In function `read()':
user.cpp:(.text+0x38b): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text+0x361): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 336kb | OK | 10 | 0 |
2 | 0ms | 332kb | OK | 10 |
3 | 0ms | 380kb | OK | 10 |
4 | 4ms | 532kb | OK | 10 |
5 | 44ms | 976kb | OK | 10 |
6 | 280ms | 2208kb | OK | 10 |
7 | Depăşit | 6640kb | Time limit exceeded. | 0 |
8 | Depăşit | 11524kb | Time limit exceeded. | 0 |
9 | Depăşit | 11524kb | Time limit exceeded. | 0 |
10 | Depăşit | 11516kb | Time limit exceeded. | 0 |
Punctaj total | 0 |