Pagini recente » Borderou de evaluare (job #700595) | Borderou de evaluare (job #735208) | Borderou de evaluare (job #2126037) | Borderou de evaluare (job #2320704) | Borderou de evaluare (job #1264978)
Borderou de evaluare (job #1264978)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:7:27: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(; poz<=n; poz+=poz&(poz-1)^poz)
^
user.cpp: In function ‘int query(int, int)’:
user.cpp:14:27: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(; day2; day2-=day2&(day2-1)^day2)
^
user.cpp:16:27: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(; day1; day1-=day1&(day1-1)^day1)
^
user.cpp: In function ‘int binarysearch(int, int, int)’:
user.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:36:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sum);
^
user.cpp:47:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&operation);
^
user.cpp:51:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&day1,&sum);
^
user.cpp:55:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&day1,&day2);
^
user.cpp:59:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sum);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 244kb | Time limit exceeded. | 0 |
2 | Depăşit | 228kb | Time limit exceeded. | 0 |
3 | Depăşit | 264kb | Time limit exceeded. | 0 |
4 | Depăşit | 348kb | Time limit exceeded. | 0 |
5 | Depăşit | 388kb | Time limit exceeded. | 0 |
6 | Depăşit | 508kb | Time limit exceeded. | 0 |
7 | Depăşit | 580kb | Time limit exceeded. | 0 |
8 | Depăşit | 640kb | Time limit exceeded. | 0 |
9 | Depăşit | 636kb | Time limit exceeded. | 0 |
10 | Depăşit | 636kb | Time limit exceeded. | 0 |
Punctaj total | 0 |