Pagini recente » Borderou de evaluare (job #1059877) | Borderou de evaluare (job #747603) | Borderou de evaluare (job #2970283) | Borderou de evaluare (job #1160821) | Borderou de evaluare (job #1458820)
Borderou de evaluare (job #1458820)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfsIni(int)’:
user.cpp:24:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<list[node].size();i++){
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:43:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<list[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.in","r",stdin);
^
user.cpp:53:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.out","w",stdout);
^
user.cpp:55:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&c);
^
user.cpp:56:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&s[i]);
^
user.cpp:57:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&p[i]);
^
user.cpp:59:29: 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 |
1 | 0ms | 1652kb | OK | 10 |
2 | 140ms | 9540kb | OK | 10 |
3 | 0ms | 1696kb | OK | 10 |
4 | 0ms | 1704kb | OK | 10 |
5 | 64ms | 3676kb | OK | 10 |
6 | 100ms | 4968kb | OK | 10 |
7 | 120ms | 5568kb | OK | 10 |
8 | 124ms | 5568kb | OK | 10 |
9 | 132ms | 5760kb | OK | 10 |
10 | 128ms | 5768kb | Incorect | 0 |
Punctaj total | 90 |