Pagini recente » Borderou de evaluare (job #1072164) | Borderou de evaluare (job #1102659) | Borderou de evaluare (job #2149284) | Borderou de evaluare (job #2857915) | Borderou de evaluare (job #1775519)
Borderou de evaluare (job #1775519)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_hash(int, int)’:
user.cpp:23:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a[hash].size(); ++i)
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:55:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < a[i].size(); ++j)
^
user.cpp:61:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<std::pair<int, int> >::size_type {aka unsigned int}’ [-Wformat=]
printf("%lu\n", b.size());
^
user.cpp:63:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); ++i)
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.in", "r", stdin);
^
user.cpp:39:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.out", "w", stdout);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:48:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &timp, &bani);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 8264kb | OK! | 10 |
2 | 68ms | 8376kb | OK! | 10 |
3 | 192ms | 8556kb | OK! | 10 |
4 | 256ms | 8632kb | OK! | 10 |
5 | 496ms | 8972kb | OK! | 10 |
6 | 856ms | 9392kb | OK! | 10 |
7 | 996ms | 9464kb | OK! | 10 |
8 | 1108ms | 9536kb | OK! | 10 |
9 | 1340ms | 10204kb | OK! | 10 |
10 | 1508ms | 10324kb | OK! | 10 |
Punctaj total | 100 |