Pagini recente » Borderou de evaluare (job #364271) | Borderou de evaluare (job #1160189) | Borderou de evaluare (job #950495) | Borderou de evaluare (job #2302272) | Borderou de evaluare (job #1596225)
Borderou de evaluare (job #1596225)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int&)’:
user.cpp:33:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[nod].size(); i++)
^
user.cpp: In function ‘void p1()’:
user.cpp:41:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hu%hu%hu", &a, &b, &d);
^
user.cpp:41:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:41:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘void p2()’:
user.cpp:61:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hu%hu%hu", &a, &b, &d);
^
user.cpp:61:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:61:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:112:34: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hu%hu%hu", &p, &N, &M);
^
user.cpp:112:34: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:112:34: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:115:24: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hu", &d);
^
user.cpp: In function ‘void p1()’:
user.cpp:41:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu%hu%hu", &a, &b, &d);
^
user.cpp: In function ‘void p2()’:
user.cpp:61:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu%hu%hu", &a, &b, &d);
^
user.cpp: In function ‘int main()’:
user.cpp:109:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.in", "rt", stdin);
^
user.cpp:110:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.out", "wt", stdout);
^
user.cpp:112:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu%hu%hu", &p, &N, &M);
^
user.cpp:115:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu", &d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Corect! | 2 |
2 | 0ms | 436kb | Corect! | 2 |
3 | 0ms | 436kb | Corect! | 2 |
4 | 0ms | 432kb | Corect! | 2 |
5 | 0ms | 436kb | Corect! | 2 |
6 | 0ms | 444kb | Corect! | 2 |
7 | 0ms | 444kb | Corect! | 2 |
8 | 4ms | 448kb | Corect! | 2 |
9 | 4ms | 448kb | Corect! | 2 |
10 | 4ms | 444kb | Corect! | 2 |
11 | 0ms | 444kb | Corect! | 8 |
12 | 0ms | 452kb | Corect! | 8 |
13 | 0ms | 532kb | Corect! | 8 |
14 | 0ms | 580kb | Corect! | 8 |
15 | 4ms | 1752kb | Corect! | 8 |
16 | 12ms | 4984kb | Corect! | 8 |
17 | 16ms | 5672kb | Corect! | 8 |
18 | 16ms | 5692kb | Corect! | 8 |
19 | 20ms | 5540kb | Corect! | 8 |
20 | 20ms | 5540kb | Corect! | 8 |
Punctaj total | 100 |