Pagini recente » Borderou de evaluare (job #2864762) | Borderou de evaluare (job #2649469) | Borderou de evaluare (job #3030190) | Borderou de evaluare (job #1121026) | Borderou de evaluare (job #1444921)
Borderou de evaluare (job #1444921)
Raport evaluator
Compilare:
user.cpp: In function ‘void soll(int)’:
user.cpp:35:17: warning: unused variable ‘s2’ [-Wunused-variable]
int sa = 0, s2 = 0;
^
user.cpp: In function ‘void sol()’:
user.cpp:97:24: warning: statement has no effect [-Wunused-value]
++x[i].l; x[i].r;
^
user.cpp:95:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x[i].l, &x[i].r);
^
user.cpp: In function ‘int main()’:
user.cpp:129:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("constant.in", "r", stdin);
^
user.cpp:130:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("constant.out", "w", stdout);
^
user.cpp:133:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tt);
^
user.cpp:135:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 512ms | 3464kb | Incorect! | 0 |
Punctaj total | 0 |