Pagini recente » Borderou de evaluare (job #1507475) | Borderou de evaluare (job #2268738) | Borderou de evaluare (job #459487) | Borderou de evaluare (job #2531001) | Borderou de evaluare (job #2491893)
Borderou de evaluare (job #2491893)
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 | 130ms | 839kb | Corect! | 20 |
2 | 152ms | 786kb | Time limit exceeded | 0 |
3 | 152ms | 790kb | Time limit exceeded | 0 |
4 | 136ms | 786kb | Corect! | 20 |
5 | 154ms | 782kb | Time limit exceeded | 0 |
Punctaj total | 40 |