Pagini recente » Borderou de evaluare (job #2030451) | Borderou de evaluare (job #1234830) | Borderou de evaluare (job #1174492) | Borderou de evaluare (job #2379931) | Borderou de evaluare (job #1458833)
Borderou de evaluare (job #1458833)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfsIni(int)’:
user.cpp:25: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:44: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:53: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:54: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:56: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: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",&s[i]);
^
user.cpp:58:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%lld",&p[i]);
^
user.cpp:60: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 | 1676kb | OK | 10 |
2 | 144ms | 9960kb | OK | 10 |
3 | 4ms | 1724kb | OK | 10 |
4 | 4ms | 1728kb | OK | 10 |
5 | 68ms | 3904kb | OK | 10 |
6 | 108ms | 5304kb | OK | 10 |
7 | 124ms | 5972kb | OK | 10 |
8 | 128ms | 5972kb | OK | 10 |
9 | 136ms | 6236kb | OK | 10 |
10 | 136ms | 6236kb | Incorect | 0 |
Punctaj total | 90 |