Pagini recente » Borderou de evaluare (job #1659296) | Borderou de evaluare (job #1615198) | Borderou de evaluare (job #3202850) | Borderou de evaluare (job #937185) | Borderou de evaluare (job #1950701)
Borderou de evaluare (job #1950701)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.in", "r", stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("linterv.out", "w", stdout);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &t); t > 0; --t)
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:25:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:48:35: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ans += v[i].x - st;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 376ms | 332kb | OK | 100 |
Punctaj total | 100 |