Pagini recente » Borderou de evaluare (job #841514) | Borderou de evaluare (job #2512924) | Borderou de evaluare (job #2154912) | Borderou de evaluare (job #1943032) | Borderou de evaluare (job #1854186)
Borderou de evaluare (job #1854186)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
col=l-v[drum[n][l]].lung;
^
user.cpp:49:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
col=col-v[drum[lin][col]].lung;
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.in","r",stdin);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.out","w",stdout);
^
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&l,&n,&c);
^
user.cpp:15:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].lung,&v[i].plata);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 412kb | OK | 10 |
6 | 0ms | 508kb | OK | 10 |
7 | 0ms | 552kb | OK | 10 |
8 | 4ms | 660kb | OK | 10 |
9 | 8ms | 752kb | OK | 10 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 100 |