Pagini recente » Borderou de evaluare (job #2154080) | Borderou de evaluare (job #1657191) | Borderou de evaluare (job #1858487) | Borderou de evaluare (job #1657382) | Borderou de evaluare (job #1793950)
Borderou de evaluare (job #1793950)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:40: 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:42: 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:25: 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:31: 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:65: 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 | 608ms | 1056kb | OK | 100 |
Punctaj total | 100 |