Pagini recente » Borderou de evaluare (job #1144039) | Borderou de evaluare (job #2492417) | Borderou de evaluare (job #310967) | Borderou de evaluare (job #19175) | Borderou de evaluare (job #2314152)
Borderou de evaluare (job #2314152)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&l,&n);
^
main.cpp:10:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:13:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %c",&x,&dir);
^
main.cpp:8:36: 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);
^
main.cpp:9:38: 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);
^
main.cpp:10:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&l,&n);
^
main.cpp:13:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c",&x,&dir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 5ms | 131kb | OK | 10 |
6 | 17ms | 131kb | OK | 10 |
7 | 18ms | 131kb | OK | 10 |
8 | 25ms | 131kb | OK | 10 |
9 | 41ms | 131kb | OK | 10 |
10 | 48ms | 131kb | OK | 10 |
Punctaj total | 100 |