Pagini recente » Cod sursa (job #1207523) | Borderou de evaluare (job #2040339) | Borderou de evaluare (job #2012025) | Borderou de evaluare (job #2226897) | Borderou de evaluare (job #1839897)
Borderou de evaluare (job #1839897)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve_queries()’:
user.cpp:91:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<v[fix][ind].size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:117:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.in","r",stdin);
^
user.cpp:118:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.out","w",stdout);
^
user.cpp:119:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
ch=0;gets(s);
^
user.cpp:123:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
ch=0;gets(s);
^
user.cpp:129:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);ch=0;
^
user.cpp:133:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
ch=0;gets(s);
^
/tmp/ccBZTwWx.o: In function `main':
user.cpp:(.text.startup+0x60): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 12284kb | OK | 10 |
2 | 332ms | 12292kb | OK | 10 |
3 | 32ms | 12572kb | OK | 10 |
4 | Depăşit | 40056kb | Time limit exceeded. | 0 |
5 | Depăşit | 40060kb | Time limit exceeded. | 0 |
6 | 304ms | 22360kb | OK | 10 |
7 | 628ms | 18392kb | OK | 10 |
8 | 516ms | 20652kb | OK | 10 |
9 | 832ms | 21180kb | OK | 10 |
10 | 804ms | 21160kb | OK | 10 |
Punctaj total | 80 |