Pagini recente » Borderou de evaluare (job #2958666) | Borderou de evaluare (job #3227880) | Borderou de evaluare (job #796654) | Borderou de evaluare (job #172384) | Borderou de evaluare (job #2340388)
Borderou de evaluare (job #2340388)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d",&n);
^
main.cpp:54:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d",&v[i]);
^
main.cpp:132:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout,"%d\n",cost);
^
main.cpp: In function 'void read(long long int&)':
main.cpp:17:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,buff_dim,fin),poz=0;
^
main.cpp:22:45: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,buff_dim,fin),poz=0;
^
main.cpp: In function 'int main()':
main.cpp:52:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
main.cpp:54:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 8ms | 262kb | OK | 10 |
| 5 | 57ms | 1703kb | Incorect | 0 |
| 6 | 376ms | 13238kb | Incorect | 0 |
| 7 | 280ms | 14958kb | OK | 10 |
| 8 | 392ms | 14958kb | Incorect | 0 |
| 9 | 403ms | 8126kb | Time limit exceeded | 0 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 60 |