Pagini recente » Borderou de evaluare (job #1633) | Borderou de evaluare (job #828852) | Borderou de evaluare (job #537597) | Borderou de evaluare (job #105050) | Borderou de evaluare (job #1889136)
Borderou de evaluare (job #1889136)
Raport evaluator
Compilare:
user.cpp: In function ‘bool match(int)’:
user.cpp:25:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp:31:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:79:18: warning: unused variable ‘idx’ [-Wunused-variable]
int f, i, j, idx;
^
user.cpp:76:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paznici.in", "r", stdin);
^
user.cpp:77:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paznici.out", "w", stdout);
^
user.cpp:81:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:84: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 user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:84: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/ccXoPZIN.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 | 276kb | OK | 4 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 280kb | OK | 4 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 280kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 276kb | Incorect | 0 |
10 | 0ms | 276kb | Incorect | 0 |
11 | 0ms | 272kb | Incorect | 0 |
12 | 0ms | 272kb | Incorect | 0 |
13 | 0ms | 276kb | Incorect | 0 |
14 | 4ms | 272kb | Incorect | 0 |
15 | 0ms | 280kb | OK | 4 |
16 | 12ms | 276kb | Incorect | 0 |
17 | 0ms | 276kb | Incorect | 0 |
18 | 12ms | 280kb | Incorect | 0 |
19 | 0ms | 280kb | Incorect | 0 |
20 | Depăşit | 260kb | Time limit exceeded. | 0 |
21 | 0ms | 280kb | OK | 4 |
22 | 0ms | 276kb | Incorect | 0 |
23 | Depăşit | 260kb | Time limit exceeded. | 0 |
24 | 4ms | 276kb | Incorect | 0 |
25 | 0ms | 272kb | Incorect | 0 |
Punctaj total | 16 |