Pagini recente » Borderou de evaluare (job #79237) | Borderou de evaluare (job #1955537) | Borderou de evaluare (job #315634) | Borderou de evaluare (job #1023362) | Borderou de evaluare (job #1802088)
Borderou de evaluare (job #1802088)
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:38: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:28: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 | 256kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 4ms | 272kb | OK | 10 |
5 | 4ms | 268kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 4ms | 272kb | OK | 10 |
8 | 4ms | 268kb | OK | 10 |
9 | 4ms | 276kb | OK | 10 |
10 | 4ms | 272kb | OK | 10 |
Punctaj total | 100 |