Pagini recente » Borderou de evaluare (job #3124568) | Borderou de evaluare (job #1206448) | Borderou de evaluare (job #699590) | Borderou de evaluare (job #912063) | Borderou de evaluare (job #1465520)
Borderou de evaluare (job #1465520)
Raport evaluator
Compilare:
user.cpp: In function ‘void interclasare(int)’:
user.cpp:22:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= arb[leftSon].size() + arb[rightSon].size(); ++i)
^
user.cpp: In function ‘bool check(int)’:
user.cpp:103:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:127:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.in","r",stdin);
^
user.cpp:128:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.out","w",stdout);
^
user.cpp:130:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:135:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:143:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int op; scanf("%d", &op);
^
user.cpp:146:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int pos; scanf("%d", &pos); stare[pos] ^= 1;
^
user.cpp:153:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &L , &R, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 4888kb | OK | 10 |
2 | 372ms | 5808kb | OK | 10 |
3 | 420ms | 6084kb | OK | 10 |
4 | Depăşit | 9292kb | Time limit exceeded. | 0 |
5 | Depăşit | 13892kb | Time limit exceeded. | 0 |
6 | Depăşit | 9836kb | Time limit exceeded. | 0 |
7 | Depăşit | 9984kb | Time limit exceeded. | 0 |
8 | Depăşit | 14080kb | Time limit exceeded. | 0 |
9 | 1936ms | 14048kb | OK | 10 |
10 | Depăşit | 12876kb | Time limit exceeded. | 0 |
Punctaj total | 40 |