Pagini recente » Borderou de evaluare (job #1244294) | Borderou de evaluare (job #846000) | Borderou de evaluare (job #2919169) | Borderou de evaluare (job #1642948) | Borderou de evaluare (job #1693892)
Borderou de evaluare (job #1693892)
Raport evaluator
Compilare:
user.cpp: In function ‘void Query(int, int, int, int)’:
user.cpp:38:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < heights.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parcele2.in", "r", stdin);
^
user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parcele2.out", "w", stdout);
^
user.cpp:49:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:51:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &k, &p);
^
user.cpp:57:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &x, &y);
^
user.cpp:61:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:63:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &xs, &ys, &xd, &yd);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 224ms | 8132kb | Accepted! | 100 |
Punctaj total | 100 |