Pagini recente » Borderou de evaluare (job #1200871) | Borderou de evaluare (job #1555067) | Borderou de evaluare (job #1593907) | Borderou de evaluare (job #2360972) | Borderou de evaluare (job #1554463)
Borderou de evaluare (job #1554463)
Raport evaluator
Compilare:
user.cpp: In function ‘void cer2()’:
user.cpp:24:69: warning: operation on ‘n’ may be undefined [-Wsequence-point]
while(n < k && INT_MAX > a[n] + a[n-1]) a[++n] = a[n-1] + a[n-2];
^
user.cpp:24:69: warning: operation on ‘n’ may be undefined [-Wsequence-point]
user.cpp:20:18: warning: unused variable ‘x’ [-Wunused-variable]
long long i, x, z, y;
^
user.cpp:20:21: warning: unused variable ‘z’ [-Wunused-variable]
long long i, x, z, y;
^
user.cpp:20:24: warning: unused variable ‘y’ [-Wunused-variable]
long long i, x, z, y;
^
user.cpp: In function ‘void cer1()’:
user.cpp:12:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x), minn = min(minn, x);
^
user.cpp: In function ‘void cer2()’:
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:45:40: 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:46:42: 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:47:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &v, &n, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | Corect ! | 5 |
| 2 | 0ms | 260kb | Corect | 5 |
| 3 | 0ms | 260kb | Corect | 5 |
| 4 | 0ms | 260kb | Corect | 5 |
| 5 | 0ms | 256kb | Corect | 5 |
| 6 | 0ms | 260kb | Corect | 5 |
| 7 | 0ms | 260kb | Corect | 5 |
| 8 | 0ms | 256kb | Corect ! | 5 |
| 9 | 0ms | 252kb | Corect ! | 5 |
| 10 | 0ms | 260kb | Corect ! | 5 |
| 11 | 0ms | 256kb | Corect ! | 5 |
| 12 | 0ms | 252kb | Corect ! | 5 |
| 13 | 0ms | 256kb | Corect ! | 5 |
| 14 | 0ms | 256kb | Lungimi invalide in OUTPUT | 0 |
| 15 | 0ms | 256kb | Lungimi invalide in OUTPUT | 0 |
| 16 | 0ms | 260kb | Corect ! | 5 |
| 17 | 0ms | 256kb | Corect ! | 5 |
| 18 | 0ms | 260kb | Corect ! | 5 |
| 19 | 0ms | 252kb | Corect ! | 5 |
| 20 | 0ms | 252kb | Corect ! | 5 |
| Punctaj total | 90 |