Pagini recente » Monitorul de evaluare | Arbori Indexati Binar | Borderou de evaluare (job #7532) | Borderou de evaluare (job #672018) | Borderou de evaluare (job #1551922)
Borderou de evaluare (job #1551922)
Raport evaluator
Compilare:
user.cpp: In function ‘void solveone()’:
user.cpp:18:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",v[i]);}
^
user.cpp: In function ‘void solvesecond()’:
user.cpp:26:29: warning: operation on ‘n’ may be undefined [-Wsequence-point]
v[++n]=v[n-1]+v[n-2];
^
user.cpp:26:29: warning: operation on ‘n’ may be undefined [-Wsequence-point]
user.cpp:84:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:88:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi5.in","r",stdin);
^
user.cpp:89:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi5.out","w",stdout);
^
user.cpp:91:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&p,&n,&k);
^
user.cpp:93:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | Corect ! | 5 |
| 2 | 0ms | 256kb | Corect | 5 |
| 3 | 0ms | 260kb | Corect | 5 |
| 4 | 0ms | 256kb | Corect | 5 |
| 5 | 0ms | 252kb | Corect | 5 |
| 6 | 0ms | 256kb | Corect | 5 |
| 7 | 0ms | 252kb | Corect | 5 |
| 8 | 0ms | 260kb | Corect ! | 5 |
| 9 | 0ms | 260kb | Corect ! | 5 |
| 10 | 0ms | 256kb | Corect ! | 5 |
| 11 | 0ms | 252kb | Corect ! | 5 |
| 12 | 0ms | 256kb | Corect ! | 5 |
| 13 | 0ms | 256kb | Corect ! | 5 |
| 14 | 0ms | 256kb | Corect ! | 5 |
| 15 | 0ms | 252kb | Corect ! | 5 |
| 16 | 0ms | 252kb | Corect ! | 5 |
| 17 | 0ms | 256kb | Corect ! | 5 |
| 18 | 0ms | 256kb | Corect ! | 5 |
| 19 | 0ms | 256kb | Corect ! | 5 |
| 20 | 0ms | 256kb | Corect ! | 5 |
| Punctaj total | 100 |