Pagini recente » Borderou de evaluare (job #2856196) | Borderou de evaluare (job #2989786) | Borderou de evaluare (job #244201) | Borderou de evaluare (job #1217399) | Borderou de evaluare (job #1203019)
Borderou de evaluare (job #1203019)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67: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:67: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:68: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:69: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:70: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:72:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &stare[i]);
^
user.cpp:73:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:76: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 | 524kb | OK | 10 |
2 | 28ms | 632kb | OK | 10 |
3 | 0ms | 500kb | OK | 10 |
4 | 100ms | 596kb | OK | 10 |
5 | 84ms | 640kb | OK | 10 |
6 | 84ms | 604kb | OK | 10 |
7 | Depăşit | 588kb | Time limit exceeded. | 0 |
8 | 0ms | 504kb | OK | 10 |
9 | 0ms | 308kb | OK | 10 |
10 | 8ms | 508kb | OK | 10 |
Punctaj total | 90 |