Pagini recente » Borderou de evaluare (job #1287753) | Borderou de evaluare (job #374767) | Borderou de evaluare (job #309473) | Borderou de evaluare (job #2878167) | Borderou de evaluare (job #1820181)
Borderou de evaluare (job #1820181)
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: In function ‘long long int cauta(long long int, long long int)’:
user.cpp:54:15: warning: unused variable ‘ans’ [-Wunused-variable]
long long ans=0;
^
user.cpp:72:9: warning: unused variable ‘i’ [-Wunused-variable]
int i=numara(st);
^
user.cpp: In function ‘int main()’:
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 | 8076kb | Incorect | 0 |
| 2 | 12ms | 8432kb | Incorect | 0 |
| 3 | 12ms | 8464kb | Incorect | 0 |
| 4 | 16ms | 8512kb | OK | 10 |
| 5 | 36ms | 8556kb | OK | 10 |
| 6 | 56ms | 8604kb | OK | 10 |
| 7 | 64ms | 8636kb | OK | 10 |
| 8 | 76ms | 8664kb | OK | 10 |
| 9 | 80ms | 8668kb | OK | 10 |
| 10 | 76ms | 8672kb | OK | 10 |
| Punctaj total | 70 |