Pagini recente » Borderou de evaluare (job #2319343) | Borderou de evaluare (job #2374605) | Borderou de evaluare (job #2486278) | Borderou de evaluare (job #3253017) | Borderou de evaluare (job #1594220)
Borderou de evaluare (job #1594220)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&a[i]);
^
user.cpp:19:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d %I64d ",a[1],a[2]);
^
user.cpp:19:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:23:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d ",a[i]);
^
user.cpp:30:33: warning: operation on ‘n’ may be undefined [-Wsequence-point]
a[++n]=a[n-1]+a[n-2];
^
user.cpp:30:33: warning: operation on ‘n’ may be undefined [-Wsequence-point]
user.cpp:73:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d ",a[i]);
^
user.cpp:7: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:8: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:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&v,&n,&k);
^
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | Corect ! | 5 |
| 2 | 0ms | 280kb | Lungimi invalide in OUTPUT | 0 |
| 3 | 0ms | 276kb | Lungimi invalide in OUTPUT | 0 |
| 4 | 0ms | 276kb | Lungimi invalide in OUTPUT | 0 |
| 5 | 0ms | 280kb | Lungimi invalide in OUTPUT | 0 |
| 6 | 0ms | 284kb | Lungimi invalide in OUTPUT | 0 |
| 7 | 0ms | 280kb | Lungimi invalide in OUTPUT | 0 |
| 8 | 0ms | 280kb | Corect ! | 5 |
| 9 | 0ms | 284kb | Corect ! | 5 |
| 10 | 0ms | 280kb | Corect ! | 5 |
| 11 | 0ms | 276kb | Corect ! | 5 |
| 12 | 0ms | 276kb | Corect ! | 5 |
| 13 | 0ms | 280kb | Corect ! | 5 |
| 14 | 0ms | 284kb | Corect ! | 5 |
| 15 | 0ms | 280kb | Corect ! | 5 |
| 16 | 0ms | 280kb | Corect ! | 5 |
| 17 | 0ms | 276kb | Corect ! | 5 |
| 18 | 0ms | 280kb | Corect ! | 5 |
| 19 | 0ms | 280kb | Corect ! | 5 |
| 20 | 0ms | 284kb | Corect ! | 5 |
| Punctaj total | 70 |