Pagini recente » Borderou de evaluare (job #2502368) | Borderou de evaluare (job #1000595) | Borderou de evaluare (job #2650269) | Borderou de evaluare (job #671300) | Borderou de evaluare (job #1200144)
Borderou de evaluare (job #1200144)
Raport evaluator
Compilare:
user.cpp: In function ‘TRIE* add(TRIE*, char*, int)’:
user.cpp:39:19: warning: NULL used in arithmetic [-Wpointer-arith]
if(word[0] == NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:104:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < srt.size(); i++)
^
user.cpp:114:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 1; (1<<j) <= tata.size(); j++)
^
user.cpp:88:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in","r",stdin);
^
user.cpp:89:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out","w",stdout);
^
user.cpp:94:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&nw,&nq);
^
user.cpp:98:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cstr);
^
user.cpp:121:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&nw,&x);
^
user.cpp:124:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
/tmp/cc5UEupU.o: In function `main':
user.cpp:(.text.startup+0x174): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1716kb | Time limit exceeded. | 0 |
2 | Depăşit | 1716kb | Time limit exceeded. | 0 |
3 | 88ms | 1572kb | OK | 5 |
4 | 88ms | 1576kb | OK | 5 |
5 | 84ms | 1484kb | OK | 5 |
6 | 84ms | 1484kb | OK | 5 |
7 | Depăşit | 5364kb | Time limit exceeded. | 0 |
8 | Depăşit | 5516kb | Time limit exceeded. | 0 |
9 | Depăşit | 5492kb | Time limit exceeded. | 0 |
10 | Depăşit | 1720kb | Time limit exceeded. | 0 |
11 | Depăşit | 1244kb | Time limit exceeded. | 0 |
12 | Depăşit | 2256kb | Time limit exceeded. | 0 |
13 | Depăşit | 1736kb | Time limit exceeded. | 0 |
14 | Depăşit | 2256kb | Time limit exceeded. | 0 |
15 | Depăşit | 1752kb | Time limit exceeded. | 0 |
16 | Depăşit | 2860kb | Time limit exceeded. | 0 |
17 | Depăşit | 3124kb | Time limit exceeded. | 0 |
18 | Depăşit | 3220kb | Time limit exceeded. | 0 |
19 | Depăşit | 2896kb | Time limit exceeded. | 0 |
20 | Depăşit | 2876kb | Time limit exceeded. | 0 |
Punctaj total | 20 |