Pagini recente » Borderou de evaluare (job #3332513) | Borderou de evaluare (job #1874724) | Borderou de evaluare (job #3151109) | Borderou de evaluare (job #3307427) | Borderou de evaluare (job #2026963)
Borderou de evaluare (job #2026963)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:14:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&v[0]);
^
user.cpp:17:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&v[i]);
^
user.cpp:29:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",n-pi[n-1]);
^
user.cpp:32:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",s[i]);
^
user.cpp:13:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:14:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[0]);
^
user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 972kb | OK | 10 |
| 2 | 44ms | 2616kb | Incorect | 0 |
| 3 | 132ms | 6876kb | Incorect | 0 |
| 4 | 256ms | 11964kb | Incorect | 0 |
| 5 | 40ms | 2140kb | Incorect | 0 |
| 6 | 24ms | 1444kb | Incorect | 0 |
| 7 | 28ms | 2372kb | OK | 10 |
| 8 | 0ms | 380kb | Incorect | 0 |
| 9 | 0ms | 360kb | OK | 10 |
| 10 | 0ms | 264kb | OK | 10 |
| Punctaj total | 40 |