Pagini recente » Borderou de evaluare (job #1447764) | Borderou de evaluare (job #2300864) | Borderou de evaluare (job #1650421) | Borderou de evaluare (job #2779801) | Borderou de evaluare (job #2539818)
Borderou de evaluare (job #2539818)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:21: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
scanf("%ld",&cer);
^
main.cpp:14:23: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
scanf("%ld",&n);
^
main.cpp:17:30: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%ld",11-n);
^
main.cpp:19:27: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%ld",n);
^
main.cpp:24:35: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
scanf("%ld%ld%ld",&p,&q,&r);
^
main.cpp:24:35: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
main.cpp:24:35: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long unsigned int*' [-Wformat=]
main.cpp:55:25: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%ld",sol);
^
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("amprenta.in","r",stdin);
^
main.cpp:10:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("amprenta.out","w",stdout);
^
main.cpp:11:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&cer);
^
main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
main.cpp:24:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&p,&q,&r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 20 |