Pagini recente » Cod sursa (job #905313) | Cod sursa (job #1512709) | Cod sursa (job #897896) | Cod sursa (job #380273) | Borderou de evaluare (job #2019930)
Borderou de evaluare (job #2019930)
Raport evaluator
Compilare:
user.cpp: In function ‘bool dfs(int)’:
user.cpp:40:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:54:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pari.in","r",stdin);
^
user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pari.out","w",stdout);
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&d);
^
user.cpp:61:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp:62:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cciiVZNX.o: In function `main':
user.cpp:(.text.startup+0xa5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Raspuns corect | 10 |
2 | 0ms | 452kb | Raspuns corect | 10 |
3 | 0ms | 484kb | Raspuns corect | 10 |
4 | 4ms | 496kb | Raspuns corect | 10 |
5 | 8ms | 548kb | Raspuns corect | 10 |
6 | 8ms | 532kb | Raspuns corect | 10 |
7 | 20ms | 552kb | Raspuns corect | 10 |
8 | 28ms | 548kb | Raspuns corect | 10 |
9 | 36ms | 556kb | Raspuns corect | 10 |
10 | 44ms | 580kb | Raspuns corect | 10 |
Punctaj total | 100 |