Pagini recente » Borderou de evaluare (job #1145668) | Borderou de evaluare (job #2472245) | Monitorul de evaluare | ceas3 | Borderou de evaluare (job #1989538)
Borderou de evaluare (job #1989538)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
#define pi(x) printf("%d\n",x)
^
user.cpp:189:3: note: in expansion of macro ‘pi’
pi(range_query(t, k, k));
^
user.cpp:181:7: warning: unused variable ‘ty’ [-Wunused-variable]
int ty;
^
user.cpp:172:12: warning: unused variable ‘j’ [-Wunused-variable]
int i,n,k,j,q,x,y;
^
user.cpp:175:6: warning: unused variable ‘v’ [-Wunused-variable]
int v;
^
user.cpp:170:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rev.in", "r", stdin);
^
user.cpp:171:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rev.out", "w", stdout);
^
user.cpp:176:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
si(n); si(q);
^
user.cpp:176:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
si(n); si(q);
^
user.cpp:182:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
si(x);
^
user.cpp:183:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
si(y);
^
user.cpp:184:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
si(k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 4008kb | OK | 10 |
| 2 | 8ms | 4044kb | OK | 10 |
| 3 | 84ms | 7488kb | OK | 10 |
| 4 | 100ms | 8692kb | OK | 10 |
| 5 | 196ms | 8688kb | OK | 10 |
| 6 | 144ms | 8692kb | OK | 10 |
| 7 | 196ms | 7076kb | OK | 10 |
| 8 | 228ms | 7512kb | OK | 10 |
| 9 | 220ms | 8224kb | OK | 10 |
| 10 | 272ms | 8692kb | OK | 10 |
| Punctaj total | 100 |