Pagini recente » Borderou de evaluare (job #841855) | Borderou de evaluare (job #431799) | Borderou de evaluare (job #415577) | Borderou de evaluare (job #1109386) | Borderou de evaluare (job #1761999)
Borderou de evaluare (job #1761999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:29: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
scanf("%d %c",&pos,&dir);
^
user.cpp:5:7: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnici.in","r",stdin);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnici.out","w",stdout);
^
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&l,&n);
^
user.cpp:12:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c",&pos,&dir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 8ms | 256kb | OK | 10 |
7 | 8ms | 256kb | OK | 10 |
8 | 16ms | 256kb | OK | 10 |
9 | 28ms | 260kb | OK | 10 |
10 | 32ms | 260kb | OK | 10 |
Punctaj total | 100 |