Pagini recente » Borderou de evaluare (job #2601642) | Borderou de evaluare (job #2565306) | Borderou de evaluare (job #2783575) | Borderou de evaluare (job #2746386) | Borderou de evaluare (job #2491884)
Borderou de evaluare (job #2491884)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:35: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
fscanf( fin, "%ld%ld", &n, &m );
^
main.cpp:20:35: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=]
main.cpp:24:37: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
fscanf( fin, "%ld", &a[i] );
^
main.cpp:20:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%ld%ld", &n, &m );
^
main.cpp:24:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%ld", &a[i] );
^
main.cpp:32:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d%d", &k, &s, &f );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 119ms | 786kb | Corect! | 20 |
| 2 | 129ms | 786kb | Corect! | 20 |
| 3 | 153ms | 868kb | Time limit exceeded | 0 |
| 4 | 152ms | 790kb | Time limit exceeded | 0 |
| 5 | 147ms | 786kb | Corect! | 20 |
| Punctaj total | 60 |