Pagini recente » Cod sursa (job #606850) | Cod sursa (job #49379) | Cod sursa (job #2423641) | Cod sursa (job #766931) | Borderou de evaluare (job #1588687)
Borderou de evaluare (job #1588687)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:49: warning: operation on ‘crt’ may be undefined [-Wsequence-point]
sol[++crt]=sol[crt-2]+sol[crt-1];
^
user.cpp:43:49: warning: operation on ‘crt’ may be undefined [-Wsequence-point]
user.cpp:9: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:10: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:11:29: 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:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Lungimi invalide in OUTPUT | 0 |
| 2 | 0ms | 264kb | Corect | 5 |
| 3 | 0ms | 264kb | Corect | 5 |
| 4 | 0ms | 268kb | Corect | 5 |
| 5 | 0ms | 268kb | Corect | 5 |
| 6 | 0ms | 264kb | Corect | 5 |
| 7 | 0ms | 264kb | Corect | 5 |
| 8 | 0ms | 264kb | Lungimi invalide in OUTPUT | 0 |
| 9 | 0ms | 268kb | Lungimi invalide in OUTPUT | 0 |
| 10 | 0ms | 268kb | lungimile formeaza triunghi ! | 0 |
| 11 | 0ms | 268kb | lungimile formeaza triunghi ! | 0 |
| 12 | 0ms | 264kb | lungimile formeaza triunghi ! | 0 |
| 13 | 0ms | 268kb | lungimile formeaza triunghi ! | 0 |
| 14 | 0ms | 264kb | Corect ! | 5 |
| 15 | 0ms | 264kb | Corect ! | 5 |
| 16 | 0ms | 268kb | Lungimi invalide in OUTPUT | 0 |
| 17 | 0ms | 260kb | Lungimi invalide in OUTPUT | 0 |
| 18 | 0ms | 268kb | Corect ! | 5 |
| 19 | 0ms | 264kb | lungimile formeaza triunghi ! | 0 |
| 20 | 0ms | 264kb | Corect ! | 5 |
| Punctaj total | 50 |