Pagini recente » Borderou de evaluare (job #1863261) | Borderou de evaluare (job #3199281) | Borderou de evaluare (job #1724079) | Borderou de evaluare (job #1146753) | Borderou de evaluare (job #2105485)
Borderou de evaluare (job #2105485)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<arb[nod].v1.size();j++) sol[arb[nod].v1[j]]++;
^
user.cpp:37:34: 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:38:36: 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:40:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&l,&n);
^
user.cpp:42:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l1);
^
user.cpp:46:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
/tmp/ccrO70u8.o: In function `main':
user.cpp:(.text.startup+0xbe): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 400kb | OK | 10 |
2 | 8ms | 312kb | OK | 10 |
3 | Depăşit | 396kb | Time limit exceeded. | 0 |
4 | 48ms | 10676kb | OK | 10 |
5 | 108ms | 20912kb | OK | 10 |
6 | 44ms | 10660kb | OK | 10 |
7 | 96ms | 20916kb | OK | 10 |
8 | 56ms | 10696kb | OK | 10 |
9 | 20ms | 1604kb | OK | 10 |
10 | 8ms | 816kb | OK | 10 |
Punctaj total | 90 |