Pagini recente » Borderou de evaluare (job #2941652) | Borderou de evaluare (job #2589952) | Borderou de evaluare (job #1897942) | Borderou de evaluare (job #445149) | Borderou de evaluare (job #1251251)
Borderou de evaluare (job #1251251)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:22:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=]
fscanf(fin ,"%d%d" ,&n ,&q);
^
user.c:31:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf(fin , "%d%d" ,&i ,&sum);
^
user.c:31:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=]
user.c:36:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout ,"%d\n" ,rez);
^
user.c:22:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d%d" ,&n ,&q);
^
user.c:25:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d" , &v[i]);
^
user.c:31:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin , "%d%d" ,&i ,&sum);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 8ms | 276kb | OK | 10 |
5 | 8ms | 272kb | OK | 10 |
6 | 8ms | 284kb | OK | 10 |
7 | 8ms | 364kb | OK | 10 |
8 | 12ms | 428kb | OK | 10 |
9 | 12ms | 460kb | OK | 10 |
10 | 16ms | 484kb | OK | 10 |
Punctaj total | 100 |