Pagini recente » Borderou de evaluare (job #266052) | Borderou de evaluare (job #1971694) | Borderou de evaluare (job #703709) | Borderou de evaluare (job #196775) | Borderou de evaluare (job #1458857)
Borderou de evaluare (job #1458857)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfsIni(int)’:
user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<list[node].size();i++){
^
user.cpp: In function ‘long long int getMagic()’:
user.cpp:60:15: warning: unused variable ‘ans’ [-Wunused-variable]
long long ans = (1LL<<60);
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:85: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:95: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:96: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:98: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:99: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:100: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:102: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 | 48ms | 1724kb | Incorect | 0 |
2 | Depăşit | 28332kb | Time limit exceeded. | 0 |
3 | Depăşit | 1828kb | Time limit exceeded. | 0 |
4 | Depăşit | 1836kb | Time limit exceeded. | 0 |
5 | Depăşit | 12812kb | Time limit exceeded. | 0 |
6 | Depăşit | 20060kb | Time limit exceeded. | 0 |
7 | Depăşit | 23788kb | Time limit exceeded. | 0 |
8 | Depăşit | 23776kb | Time limit exceeded. | 0 |
9 | Depăşit | 24936kb | Time limit exceeded. | 0 |
10 | Depăşit | 24948kb | Time limit exceeded. | 0 |
Punctaj total | 0 |