Pagini recente » Borderou de evaluare (job #3123592) | Borderou de evaluare (job #3279066) | Borderou de evaluare (job #310459) | Borderou de evaluare (job #2812464) | Borderou de evaluare (job #1772841)
Borderou de evaluare (job #1772841)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Trie::insert(std::string, int, int)’:
user.cpp:23:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos == s.size()) {
^
user.cpp: In function ‘void BFS(Trie*)’:
user.cpp:41:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (start < Q.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:89:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < text.size(); i++) {
^
user.cpp:99:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < result.size(); i++)
^
user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in", "r", stdin);
^
user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out", "w", stdout);
^
user.cpp:74:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", aux);
^
user.cpp:81:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s", &x, aux);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 672kb | Incorect | 0 |
2 | 148ms | 768kb | Incorect | 0 |
3 | 420ms | 1728kb | OK | 10 |
4 | Depăşit | 10324kb | Time limit exceeded. | 0 |
5 | Depăşit | 7316kb | Time limit exceeded. | 0 |
6 | Depăşit | 10172kb | Time limit exceeded. | 0 |
7 | Depăşit | 29024kb | Time limit exceeded. | 0 |
8 | Depăşit | 10704kb | Time limit exceeded. | 0 |
9 | 36ms | 3024kb | Incorect | 0 |
10 | 16ms | 1488kb | Incorect | 0 |
Punctaj total | 10 |