Pagini recente » Borderou de evaluare (job #1781840) | Borderou de evaluare (job #2047239) | Borderou de evaluare (job #8303) | Borderou de evaluare (job #39306) | Borderou de evaluare (job #1444954)
Borderou de evaluare (job #1444954)
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:102:24: warning: statement has no effect [-Wunused-value]
++x[i].l; x[i].r;
^
user.cpp:100: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:134: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:135: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:138:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tt);
^
user.cpp:140: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 | 3468kb | Incorect! | 0 |
Punctaj total | 0 |