Pagini recente » Borderou de evaluare (job #743440) | Borderou de evaluare (job #1511617) | Borderou de evaluare (job #797672) | Borderou de evaluare (job #758339) | Borderou de evaluare (job #1366228)
Borderou de evaluare (job #1366228)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld\n",Rezolvare());
^
user.cpp:20:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld\n",&T);
^
user.cpp:22:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&L);
^
user.cpp:23:57: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(long int i=1;i<=L;i++) fscanf(f,"%ld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK! | 10 |
2 | 0ms | 252kb | OK! | 10 |
3 | 0ms | 248kb | OK! | 10 |
4 | 0ms | 256kb | OK! | 10 |
5 | 0ms | 252kb | OK! | 10 |
6 | 0ms | 248kb | OK! | 10 |
7 | 0ms | 256kb | OK! | 10 |
8 | 4ms | 268kb | OK! | 10 |
9 | 4ms | 280kb | OK! | 10 |
10 | 12ms | 288kb | OK! | 10 |
Punctaj total | 100 |