Borderou de evaluare (job #1547073)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(int, int, int, int)’:
user.cpp:35:9: warning: unused variable ‘a’ [-Wunused-variable]
int a, b, x;
^
user.cpp:35:12: warning: unused variable ‘b’ [-Wunused-variable]
int a, b, x;
^
user.cpp:35:15: warning: unused variable ‘x’ [-Wunused-variable]
int a, b, x;
^
user.cpp: In function ‘void read()’:
user.cpp:84:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in", "r", stdin);
^
user.cpp:85:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:88:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &val);
^
user.cpp: In function ‘void write()’:
user.cpp:96:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out", "w", stdout);
^
user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:100:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &r);
^
user.cpp:103:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld", &pos, &val);
^
user.cpp:107:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &pos);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 468kb | Incorect | 0 | 0 |
2 | 0ms | 508kb | Incorect | 0 | 0 |
3 | 284ms | 5344kb | Incorect | 0 | 0 |
4 | 92ms | 2832kb | Incorect | 0 | 0 |
5 | 120ms | 2904kb | Incorect | 0 | 0 |
6 | 120ms | 2904kb | Incorect | 0 | 0 |
7 | Depăşit | 5332kb | Time limit exceeded. | 0 | 0 |
8 | 268ms | 5344kb | Incorect | 0 |
9 | 268ms | 5340kb | Incorect | 0 |
10 | 276ms | 5340kb | Incorect | 0 | 0 |
Punctaj total | 0 |