Pagini recente » Borderou de evaluare (job #3289746) | Borderou de evaluare (job #2444904) | Borderou de evaluare (job #1373168) | Borderou de evaluare (job #810320) | Borderou de evaluare (job #2069975)
Borderou de evaluare (job #2069975)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:31:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < arb2[nod].size(); ++ i){
^
user.cpp:30:9: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int ok = 0;
^
user.cpp: In function ‘void solve(short int)’:
user.cpp:54:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short int i = 0; i < arb2[nod].size(); ++ i){
^
user.cpp: In function ‘void dfs_heap(short int)’:
user.cpp:76:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short int i = 0; i < arb2[nod].size(); ++ i){
^
user.cpp: In function ‘int main()’:
user.cpp:90:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &n, &k);
^
user.cpp:90:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:92:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &x, &y);
^
user.cpp:92:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:87:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in", "r", stdin);
^
user.cpp:88:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out", "w", stdout);
^
user.cpp:90:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:92:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | Incorect | 0 |
2 | 0ms | 408kb | Incorect | 0 |
3 | 0ms | 408kb | Incorect | 0 |
4 | 0ms | 404kb | Incorect | 0 |
5 | 0ms | 404kb | Incorect | 0 |
6 | 0ms | 404kb | Incorect | 0 |
7 | 0ms | 424kb | Incorect | 0 |
8 | 0ms | 432kb | Incorect | 0 |
9 | 0ms | 432kb | Incorect | 0 |
10 | 0ms | 436kb | Incorect | 0 |
11 | 0ms | 464kb | Incorect | 0 |
12 | 0ms | 460kb | Incorect | 0 |
13 | 0ms | 460kb | Incorect | 0 |
14 | 0ms | 460kb | Incorect | 0 |
15 | 0ms | 488kb | Incorect | 0 |
16 | 0ms | 460kb | Incorect | 0 |
17 | 0ms | 512kb | Incorect | 0 |
18 | 4ms | 508kb | Incorect | 0 |
19 | 4ms | 556kb | Incorect | 0 |
20 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |