Pagini recente » Borderou de evaluare (job #734418) | Borderou de evaluare (job #1348060) | Cod sursa (job #1122102) | Borderou de evaluare (job #1805204) | Borderou de evaluare (job #1302855)
Borderou de evaluare (job #1302855)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64: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:64: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:65: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:66: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:67: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:69:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &stare[i]);
^
user.cpp:70:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:73: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 | 528kb | OK | 10 |
2 | 28ms | 636kb | OK | 10 |
3 | 0ms | 496kb | OK | 10 |
4 | Depăşit | 600kb | Time limit exceeded. | 0 |
5 | 84ms | 636kb | OK | 10 |
6 | 84ms | 608kb | OK | 10 |
7 | Depăşit | 604kb | Time limit exceeded. | 0 |
8 | 0ms | 504kb | OK | 10 |
9 | 0ms | 312kb | OK | 10 |
10 | 8ms | 504kb | OK | 10 |
Punctaj total | 80 |