Borderou de evaluare (job #2027854)

Utilizator MKopchevMartin Kopchev MKopchev Data 26 septembrie 2017 19:33:42
Problema Bonus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp:4:36: warning: integer constant is so large that it is unsigned [enabled by default] const ull lmax=64+42,VAL=5,MAX_NUM=18446744073709551615; ^ user.cpp: In function ‘long long unsigned int query(long long unsigned int)’: user.cpp:53:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2;i<=lim;i++) ^ user.cpp:56:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(my_log(now,val)>i)val++; ^ user.cpp:61:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int r=2;r<=lim;r++) ^ user.cpp:51:5: warning: unused variable ‘stop’ [-Wunused-variable] int stop=2; ^ user.cpp: In function ‘void pre()’: user.cpp:73:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(my_log(MAX_NUM,2)<=r)break; ^ user.cpp:77:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(my_log(MAX_NUM,a)<=r)break; ^ user.cpp: In function ‘int main()’: user.cpp:96:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++) ^ user.cpp:89:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bonus.in", "r", stdin); ^ user.cpp:90:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bonus.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit2628kbTime limit exceeded.0
2Depăşit2632kbTime limit exceeded.0
3Depăşit2632kbTime limit exceeded.0
4Depăşit2632kbTime limit exceeded.0
5Depăşit2632kbTime limit exceeded.0
6Depăşit2636kbTime limit exceeded.0
7Depăşit2628kbTime limit exceeded.0
8Depăşit2636kbTime limit exceeded.0
9Depăşit2636kbTime limit exceeded.0
10Depăşit2628kbTime limit exceeded.0
11Depăşit2632kbTime limit exceeded.0
12Depăşit2636kbTime limit exceeded.0
13Depăşit2636kbTime limit exceeded.0
14Depăşit2628kbTime limit exceeded.0
15Depăşit2632kbTime limit exceeded.0
16Depăşit2632kbTime limit exceeded.0
1764ms2636kbOK5
1896ms2640kbOK5
19232ms2640kbOK5
20408ms2640kbOK5
Punctaj total20

Ceva nu functioneaza?