Pagini recente » Borderou de evaluare (job #2986211) | Borderou de evaluare (job #2706253) | Borderou de evaluare (job #2706384) | Borderou de evaluare (job #2150230) | Borderou de evaluare (job #1458871)
Borderou de evaluare (job #1458871)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfsIni(int)’:
user.cpp:30: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 do_magic()’:
user.cpp:47:13: warning: unused variable ‘def’ [-Wunused-variable]
int def = (1<<i);
^
user.cpp: In function ‘long long int getMagic()’:
user.cpp:62:15: warning: unused variable ‘ans’ [-Wunused-variable]
long long ans = (1LL<<60);
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:90: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:100: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:101: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:103: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:104: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:105: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:107: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 | 1848kb | OK | 10 |
2 | 192ms | 34160kb | OK | 10 |
3 | 4ms | 2112kb | OK | 10 |
4 | 4ms | 2116kb | OK | 10 |
5 | 88ms | 16144kb | OK | 10 |
6 | 140ms | 24812kb | OK | 10 |
7 | 172ms | 29116kb | OK | 10 |
8 | 168ms | 29108kb | OK | 10 |
9 | 184ms | 30372kb | OK | 10 |
10 | 176ms | 30384kb | OK | 10 |
Punctaj total | 100 |