Pagini recente » Borderou de evaluare (job #2096786) | Borderou de evaluare (job #2224522) | Borderou de evaluare (job #556400) | Borderou de evaluare (job #2746152) | Borderou de evaluare (job #2491936)
Borderou de evaluare (job #2491936)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:44:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(cer == 3)
^~
main.cpp:45:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
Pow[0] = 1; Pow[1] = 5; Pow[2] = 25; Pow[3] = 125;
^~~
main.cpp:47:10: warning: variable 'ok' set but not used [-Wunused-but-set-variable]
bool ok;
^~
main.cpp: In function 'int BFS(int)':
main.cpp:65:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Gph[node].size(); i++){
~~^~~~~~~~~~~~~~~~~~
main.cpp:70:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int BFS_cer2(int)':
main.cpp:75:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Gph[node].size(); i++){
~~^~~~~~~~~~~~~~~~~~
main.cpp:89:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int BFS_cer3(int, int)':
main.cpp:93:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Gph[node].size(); i++){
~~^~~~~~~~~~~~~~~~~~
main.cpp:101:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'void read()':
main.cpp:43:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &cer, &N, &M);
^
main.cpp:49:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %s ", &a, &b, s);
^
main.cpp: In function 'int main()':
main.cpp:105:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ninjago.in", "r", stdin);
^
main.cpp:106:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ninjago.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 917kb | Corect! | 2 |
| 2 | 29ms | 1703kb | Corect! | 2 |
| 3 | 31ms | 3014kb | Corect! | 2 |
| 4 | 5ms | 917kb | Corect! | 2 |
| 5 | 5ms | 917kb | Corect! | 2 |
| 6 | 44ms | 1880kb | Corect! | 2 |
| 7 | 6ms | 917kb | Corect! | 2 |
| 8 | 51ms | 2363kb | Corect! | 2 |
| 9 | 24ms | 1703kb | Corect! | 2 |
| 10 | 55ms | 1843kb | Corect! | 2 |
| 11 | 5ms | 917kb | Corect | 4 |
| 12 | 47ms | 1634kb | Corect | 4 |
| 13 | 77ms | 4685kb | Corect | 4 |
| 14 | 4ms | 917kb | Corect | 4 |
| 15 | 6ms | 937kb | Incorect! | 0 |
| 16 | 77ms | 4591kb | Incorect! | 0 |
| 17 | 5ms | 917kb | Corect | 4 |
| 18 | 61ms | 2490kb | Corect | 4 |
| 19 | 46ms | 1720kb | Corect | 4 |
| 20 | 79ms | 4591kb | Incorect! | 0 |
| 21 | 4ms | 917kb | Incorect! | 0 |
| 22 | 51ms | 1703kb | Corect! | 3 |
| 23 | 58ms | 3678kb | Corect! | 3 |
| 24 | 4ms | 917kb | Incorect! | 0 |
| 25 | 6ms | 917kb | Incorect! | 0 |
| 26 | 63ms | 3670kb | Incorect! | 0 |
| 27 | 7ms | 917kb | Incorect! | 0 |
| 28 | 50ms | 2494kb | Corect! | 3 |
| 29 | 200ms | 1703kb | Time limit exceeded | 0 |
| 30 | 41ms | 3670kb | Incorect! | 0 |
| 31 | 4ms | 917kb | Corect! (Exemplu) | 10 |
| Punctaj total | 67 |