Pagini recente » Borderou de evaluare (job #2436395) | Borderou de evaluare (job #1795799) | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #1802061)
Borderou de evaluare (job #1802061)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int Solve(long long int)’:
user.cpp:12:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:37:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", st);
^
user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.in", "r", stdin);
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.out", "w", stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
user.cpp:27:27: 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 | 280kb | Incorect | 0 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 4ms | 272kb | OK | 10 |
| 5 | 4ms | 276kb | OK | 10 |
| 6 | 0ms | 276kb | OK | 10 |
| 7 | 4ms | 272kb | OK | 10 |
| 8 | 4ms | 276kb | OK | 10 |
| 9 | 4ms | 272kb | OK | 10 |
| 10 | 4ms | 272kb | OK | 10 |
| Punctaj total | 90 |