Pagini recente » Borderou de evaluare (job #1059183) | Borderou de evaluare (job #2753833) | Borderou de evaluare (job #1486224) | Borderou de evaluare (job #997580) | Borderou de evaluare (job #1203020)
Borderou de evaluare (job #1203020)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:26: warning: unused variable ‘cost’ [-Wunused-variable]
int x,y,t,watt,i,K,M,cost,sol=INF,sol2,W,st,dr,mij;
^
user.cpp:63:44: warning: unused variable ‘W’ [-Wunused-variable]
int x,y,t,watt,i,K,M,cost,sol=INF,sol2,W,st,dr,mij;
^
user.cpp:64:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lanterna.in","r",stdin);
^
user.cpp:65:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lanterna.out","w",stdout);
^
user.cpp:66:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N,&K);
^
user.cpp:68:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &stare[i]);
^
user.cpp:69:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:72:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x,&y,&t,&watt);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 520kb | OK | 10 |
2 | 12ms | 624kb | OK | 10 |
3 | 0ms | 496kb | OK | 10 |
4 | 28ms | 544kb | OK | 10 |
5 | 36ms | 588kb | OK | 10 |
6 | 44ms | 596kb | OK | 10 |
7 | 44ms | 552kb | OK | 10 |
8 | 0ms | 500kb | OK | 10 |
9 | 0ms | 308kb | OK | 10 |
10 | 4ms | 500kb | OK | 10 |
Punctaj total | 100 |