Pagini recente » Borderou de evaluare (job #142739) | Borderou de evaluare (job #2359273) | Borderou de evaluare (job #1344391) | Borderou de evaluare (job #2366942) | Borderou de evaluare (job #1957326)
Borderou de evaluare (job #1957326)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:11:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d",&n,&c,&l);
^
user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("shop.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("shop.out","w",stdout);
^
user.cpp:9:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&n,&c,&l);
^
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("shop.in","r",stdin);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&c,&l);
^
user.cpp:32:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 272kb | OK | 10 |
| 6 | 0ms | 272kb | OK | 10 |
| 7 | 0ms | 276kb | OK | 10 |
| 8 | 0ms | 272kb | OK | 10 |
| 9 | 0ms | 276kb | OK | 10 |
| 10 | 0ms | 272kb | Raspuns gresit | 0 |
| Punctaj total | 90 |