Pagini recente » Borderou de evaluare (job #1356473) | Borderou de evaluare (job #1287815) | Borderou de evaluare (job #381063) | Borderou de evaluare (job #2309264) | Borderou de evaluare (job #1757297)
Borderou de evaluare (job #1757297)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("norocoase.in", "r", stdin);
^
user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("norocoase.out", "w", stdout);
^
user.cpp:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &t); t; --t)
^
user.cpp:29:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &w);
^
user.cpp:31:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 0; i < n; ++i) scanf("%d %d", &P[i].x, &P[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 592ms | 1052kb | OK | 100 |
Punctaj total | 100 |