Pagini recente » Borderou de evaluare (job #359862) | Borderou de evaluare (job #969744) | Borderou de evaluare (job #1004344) | Cod sursa (job #672905) | Borderou de evaluare (job #1465603)
Borderou de evaluare (job #1465603)
Raport evaluator
Compilare:
user.cpp: In function ‘void updateAIB(int, int, int)’:
user.cpp:20:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ind < aib[node].size())
^
user.cpp: In function ‘void interclasare(int)’:
user.cpp:32:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < arb[leftSon].size() + arb[rightSon].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:136: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:137: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:139: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:144:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:157: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:160: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:166: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 | 88ms | 9116kb | OK | 10 |
2 | 272ms | 10560kb | OK | 10 |
3 | 300ms | 11376kb | OK | 10 |
4 | 1076ms | 17432kb | OK | 10 |
5 | 1632ms | 24928kb | OK | 10 |
6 | 1476ms | 18828kb | OK | 10 |
7 | 1332ms | 19120kb | OK | 10 |
8 | 1364ms | 25488kb | OK | 10 |
9 | 928ms | 25488kb | OK | 10 |
10 | 1560ms | 22736kb | OK | 10 |
Punctaj total | 100 |