Pagini recente » Borderou de evaluare (job #1732358) | Borderou de evaluare (job #1600929) | Borderou de evaluare (job #2924568) | Borderou de evaluare (job #3290714) | Borderou de evaluare (job #1463504)
Borderou de evaluare (job #1463504)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:23:25: warning: unused variable ‘ok’ [-Wunused-variable]
int step = 1, ans = 0, ok = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:41:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:42:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:46:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:50:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
user.cpp:52:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:56:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:59:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 4ms | 288kb | OK | 10 |
4 | 28ms | 372kb | OK | 10 |
5 | 60ms | 404kb | OK | 10 |
6 | 92ms | 532kb | OK | 10 |
7 | 108ms | 600kb | OK | 10 |
8 | 144ms | 660kb | OK | 10 |
9 | 148ms | 664kb | OK | 10 |
10 | 144ms | 660kb | OK | 10 |
Punctaj total | 100 |