Pagini recente » Borderou de evaluare (job #2602250) | Borderou de evaluare (job #325665) | Borderou de evaluare (job #2824954) | Borderou de evaluare (job #3292795) | Borderou de evaluare (job #1772840)
Borderou de evaluare (job #1772840)
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 | 676kb | OK | 10 |
2 | 144ms | 768kb | OK | 10 |
3 | 384ms | 1732kb | OK | 10 |
4 | Depăşit | 10428kb | Time limit exceeded. | 0 |
5 | Depăşit | 7492kb | Time limit exceeded. | 0 |
6 | Depăşit | 10184kb | Time limit exceeded. | 0 |
7 | Depăşit | 30540kb | Time limit exceeded. | 0 |
8 | Depăşit | 10712kb | Time limit exceeded. | 0 |
9 | 40ms | 3136kb | OK | 10 |
10 | 16ms | 1488kb | OK | 10 |
Punctaj total | 50 |