Pagini recente » Borderou de evaluare (job #1954164) | Borderou de evaluare (job #668344) | Borderou de evaluare (job #74034) | Borderou de evaluare (job #528191) | Borderou de evaluare (job #1458872)
Borderou de evaluare (job #1458872)
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 | 1816kb | OK | 10 |
2 | 192ms | 31808kb | OK | 10 |
3 | 4ms | 2060kb | OK | 10 |
4 | 4ms | 2072kb | OK | 10 |
5 | 88ms | 14992kb | OK | 10 |
6 | 140ms | 22908kb | OK | 10 |
7 | 164ms | 26860kb | OK | 10 |
8 | 168ms | 26860kb | OK | 10 |
9 | 176ms | 28028kb | OK | 10 |
10 | 176ms | 28032kb | OK | 10 |
Punctaj total | 100 |