Pagini recente » Borderou de evaluare (job #3247514) | Borderou de evaluare (job #3145747) | Borderou de evaluare (job #2852994) | Borderou de evaluare (job #2267794) | Borderou de evaluare (job #1499854)
Borderou de evaluare (job #1499854)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:12:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<G[k].size(); i++)
^
user.cpp:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maimute.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maimute.out","w",stdout);
^
user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:25:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,20,stdin);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1432kb | OK | 10 | 10 |
2 | 0ms | 1440kb | OK | 10 | 10 |
3 | 84ms | 1568kb | OK | 10 | 10 |
4 | 156ms | 1704kb | OK | 10 | 10 |
5 | Depăşit | 4084kb | Time limit exceeded. | 0 | 0 |
6 | 420ms | 2028kb | OK | 10 |
7 | 360ms | 3556kb | OK | 10 |
8 | 264ms | 3024kb | OK | 10 | 10 |
9 | 140ms | 2104kb | OK | 10 | 10 |
10 | 140ms | 1960kb | OK | 10 | 10 |
Punctaj total | 70 |