Pagini recente » Borderou de evaluare (job #2614552) | Borderou de evaluare (job #616233) | Borderou de evaluare (job #574668) | Borderou de evaluare (job #2130348) | Borderou de evaluare (job #2343944)
Borderou de evaluare (job #2343944)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i = n; i < 2*n; i++)
^~~
main.cpp:36:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
while(s < f)
^~~~~
main.cpp:25:40: warning: unused variable 'p1' [-Wunused-variable]
int i, s, f, sw = 0, fw = 0, ord, p1, p2, h;
^~
main.cpp:25:44: warning: unused variable 'p2' [-Wunused-variable]
int i, s, f, sw = 0, fw = 0, ord, p1, p2, h;
^~
main.cpp:23:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("huffman.in", "r", stdin);
^
main.cpp:24:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("huffman.out", "w", stdout);
^
main.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:34:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Lungime incorecta! | 0 |
2 | 2ms | 131kb | OK! | 5 |
3 | 2ms | 131kb | OK! | 5 |
4 | 2ms | 131kb | OK! | 5 |
5 | 7ms | 393kb | Lungime incorecta! | 0 |
6 | 7ms | 393kb | Lungime incorecta! | 0 |
7 | 23ms | 1048kb | Lungime incorecta! | 0 |
8 | 24ms | 1048kb | OK! | 5 |
9 | 66ms | 2883kb | OK! | 5 |
10 | 67ms | 2883kb | OK! | 5 |
11 | 109ms | 4587kb | Lungime incorecta! | 0 |
12 | 104ms | 4718kb | OK! | 5 |
13 | 186ms | 9306kb | OK! | 5 |
14 | 480ms | 23199kb | OK! | 5 |
15 | 700ms | 36962kb | OK! | 5 |
16 | 718ms | 36962kb | OK! | 5 |
17 | 958ms | 41811kb | OK! | 5 |
18 | 812ms | 41418kb | Lungime incorecta! | 0 |
19 | 883ms | 46399kb | OK! | 5 |
20 | 1001ms | 45613kb | Time limit exceeded | 0 |
Punctaj total | 65 |