Pagini recente » Borderou de evaluare (job #2884509) | Borderou de evaluare (job #2785849) | Borderou de evaluare (job #1197476) | Borderou de evaluare (job #1163403) | 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 |