Pagini recente » Borderou de evaluare (job #2545711) | Borderou de evaluare (job #2922165) | Borderou de evaluare (job #2402767) | Borderou de evaluare (job #1764847) | Borderou de evaluare (job #2105481)
Borderou de evaluare (job #2105481)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v1[nod].size();j++) sol[v1[nod][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/ccedsc6Q.o: In function `main':
user.cpp:(.text.startup+0x9e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 12132kb | OK | 10 |
2 | 24ms | 12036kb | OK | 10 |
3 | Depăşit | 12120kb | Time limit exceeded. | 0 |
4 | 112ms | 25584kb | OK | 10 |
5 | 212ms | 33820kb | OK | 10 |
6 | 108ms | 25300kb | OK | 10 |
7 | 220ms | 39104kb | OK | 10 |
8 | 132ms | 25604kb | OK | 10 |
9 | 48ms | 13732kb | OK | 10 |
10 | 24ms | 12464kb | OK | 10 |
Punctaj total | 90 |