Pagini recente » Borderou de evaluare (job #1010920) | Borderou de evaluare (job #1043133) | Borderou de evaluare (job #1268836) | Borderou de evaluare (job #1287572) | Borderou de evaluare (job #1364918)
Borderou de evaluare (job #1364918)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:17: warning: unused variable ‘cost’ [-Wunused-variable]
int n,T,x,y,cost,i,len=0,p=1;
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("gardieni.in","r",stdin);
^
user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("gardieni.out","w",stdout);
^
user.cpp:26:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&T);
^
user.cpp:29:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x,&y,&w.cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 4ms | 284kb | OK | 10 |
5 | 8ms | 288kb | OK | 10 |
6 | 20ms | 500kb | OK | 10 |
7 | 32ms | 736kb | OK | 10 |
8 | 44ms | 960kb | OK | 10 |
9 | 60ms | 1204kb | OK | 10 |
10 | 72ms | 1432kb | OK | 10 |
Punctaj total | 100 |