Pagini recente » Borderou de evaluare (job #1624195) | Borderou de evaluare (job #151994) | Borderou de evaluare (job #2024471) | Borderou de evaluare (job #2654176) | Borderou de evaluare (job #2658654)
Borderou de evaluare (job #2658654)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&v[i]);
^
main.cpp:61:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",s);
^
main.cpp:63:41: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
printf("%d %ld\n",lung[i],rez[i]);
^
main.cpp:37:36: 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:38:38: 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:39:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:41:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 5 |
| 2 | 2ms | 131kb | OK! | 5 |
| 3 | 3ms | 131kb | OK! | 5 |
| 4 | 2ms | 131kb | OK! | 5 |
| 5 | 10ms | 393kb | OK! | 5 |
| 6 | 10ms | 393kb | OK! | 5 |
| 7 | 34ms | 1179kb | Lungime incorecta! | 0 |
| 8 | 33ms | 1310kb | Lungime incorecta! | 0 |
| 9 | 101ms | 3272kb | Lungime incorecta! | 0 |
| 10 | 99ms | 3272kb | Lungime incorecta! | 0 |
| 11 | 155ms | 5234kb | Lungime incorecta! | 0 |
| 12 | 162ms | 5234kb | Lungime incorecta! | 0 |
| 13 | 314ms | 10211kb | Lungime incorecta! | 0 |
| 14 | 791ms | 25280kb | Lungime incorecta! | 0 |
| 15 | 1000ms | 33402kb | Time limit exceeded | 0 |
| 16 | 1003ms | 20951kb | Time limit exceeded | 0 |
| 17 | 1002ms | 23441kb | Time limit exceeded | 0 |
| 18 | 1003ms | 23842kb | Time limit exceeded | 0 |
| 19 | 1002ms | 22401kb | Time limit exceeded | 0 |
| 20 | 1000ms | 22544kb | Time limit exceeded | 0 |
| Punctaj total | 30 |