Pagini recente » Borderou de evaluare (job #1339783) | Borderou de evaluare (job #2165819) | Borderou de evaluare (job #1844300) | Borderou de evaluare (job #2680438) | Borderou de evaluare (job #1819653)
Borderou de evaluare (job #1819653)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:32: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin,"%lld",&v[i]);
^
user.cpp:28:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d",ans);
^
user.cpp:15:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld%lld",&N,&K);
^
user.cpp:19:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 8068kb | Incorect | 0 |
| 2 | 12ms | 8432kb | Incorect | 0 |
| 3 | 12ms | 8460kb | Incorect | 0 |
| 4 | 16ms | 8512kb | OK | 10 |
| 5 | 36ms | 8552kb | OK | 10 |
| 6 | 52ms | 8596kb | Incorect | 0 |
| 7 | 60ms | 8628kb | Incorect | 0 |
| 8 | 72ms | 8664kb | Incorect | 0 |
| 9 | 72ms | 8668kb | Incorect | 0 |
| 10 | 72ms | 8668kb | OK | 10 |
| Punctaj total | 30 |