Pagini recente » Cod sursa (job #2654210) | Borderou de evaluare (job #294265) | Borderou de evaluare (job #200885) | Borderou de evaluare (job #2942729) | Borderou de evaluare (job #1339024)
Borderou de evaluare (job #1339024)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:28: warning: unused variable ‘ans’ [-Wunused-variable]
int i, x, y, a = 1, j, ans = inf, k;
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("patrol.in", "r", stdin);
^
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("patrol.out", "w", stdout);
^
user.cpp:45:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &n, &m, &p);
^
user.cpp:47:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &c [i]);
^
user.cpp:49:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
user.cpp:54:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t [i][0]);
^
user.cpp:56:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t [i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 352kb | OK | 10 |
4 | 8ms | 444kb | OK | 10 |
5 | 8ms | 448kb | OK | 10 |
6 | 4ms | 660kb | OK | 10 |
7 | 56ms | 1208kb | OK | 10 |
8 | 4ms | 1368kb | OK | 10 |
9 | 28ms | 1388kb | Incorect | 0 |
10 | 28ms | 1388kb | Incorect | 0 |
Punctaj total | 80 |