Pagini recente » Borderou de evaluare (job #2816515) | Borderou de evaluare (job #23706) | Borderou de evaluare (job #225056) | Borderou de evaluare (job #505748) | Borderou de evaluare (job #1281506)
Borderou de evaluare (job #1281506)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<tu[word[i]-'a'].size();j++)
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.out","w",stdout);
^
user.cpp:25:14: warning: array subscript is above array bounds [-Warray-bounds]
have[c[i][2]-'a']++;
^
user.cpp:27:12: warning: array subscript is above array bounds [-Warray-bounds]
tu[c[i][2]-'a'].push_back(i);
^
user.cpp:37:19: warning: array subscript is above array bounds [-Warray-bounds]
if(have[c[v][2]-'a']>need[c[v][2]-'a'])
^
user.cpp:41:17: warning: array subscript is above array bounds [-Warray-bounds]
have[c[v][2]-'a']--;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | Ok! | 10 |
2 | 0ms | 476kb | Ok! | 10 |
3 | 0ms | 472kb | Teroristii au scapat! | 0 |
4 | 0ms | 488kb | Teroristii au scapat! | 0 |
5 | 0ms | 500kb | Teroristii au scapat! | 0 |
6 | 652ms | 1108kb | Teroristii au scapat! | 0 |
7 | Depăşit | 4688kb | Time limit exceeded. | 0 |
8 | Depăşit | 8964kb | Time limit exceeded. | 0 |
9 | Depăşit | 11544kb | Time limit exceeded. | 0 |
10 | Depăşit | 14460kb | Time limit exceeded. | 0 |
Punctaj total | 20 |