Borderou de evaluare (job #2166629)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:37: warning: operation on ‘z’ may be undefined [-Wsequence-point]
a[++z]=0LL+a[z-2]+a[z-1];
^
user.cpp:36:37: warning: operation on ‘z’ may be undefined [-Wsequence-point]
user.cpp:45:40: warning: operation on ‘z’ may be undefined [-Wsequence-point]
while(k>n){a[++z]=a[z-3]+a[z-2];k--;}
^
user.cpp:45:40: warning: operation on ‘z’ may be undefined [-Wsequence-point]
user.cpp:8: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:9: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:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&p,&n,&k);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1312kb | Lungimi invalide in OUTPUT | 0 |
2 | 0ms | 1232kb | Corect | 5 |
3 | 0ms | 1236kb | Corect | 5 |
4 | 0ms | 1308kb | Corect | 5 |
5 | 0ms | 1352kb | Corect | 5 |
6 | 0ms | 1244kb | Corect | 5 |
7 | 0ms | 1316kb | Corect | 5 |
8 | 0ms | 1344kb | Lungimi invalide in OUTPUT | 0 |
9 | 0ms | 1316kb | Lungimi invalide in OUTPUT | 0 |
10 | 0ms | 1344kb | Lungimi invalide in OUTPUT | 0 |
11 | 0ms | 1300kb | Lungimi invalide in OUTPUT | 0 |
12 | 0ms | 1384kb | Lungimi invalide in OUTPUT | 0 |
13 | 0ms | 1320kb | Lungimi invalide in OUTPUT | 0 |
14 | 0ms | 1388kb | Lungimi invalide in OUTPUT | 0 |
15 | 0ms | 1352kb | Lungimi invalide in OUTPUT | 0 |
16 | 0ms | 1344kb | Lungimi invalide in OUTPUT | 0 |
17 | 0ms | 1308kb | Lungimi invalide in OUTPUT | 0 |
18 | 0ms | 1312kb | Lungimi invalide in OUTPUT | 0 |
19 | 0ms | 1356kb | Lungimi invalide in OUTPUT | 0 |
20 | 0ms | 1304kb | Lungimi invalide in OUTPUT | 0 |
Punctaj total | 30 |