Pagini recente » Borderou de evaluare (job #2669683) | Borderou de evaluare (job #1131724) | Borderou de evaluare (job #631388) | Borderou de evaluare (job #1507502) | Borderou de evaluare (job #1389202)
Borderou de evaluare (job #1389202)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
fscanf(fin,"%d%d%lld",&n,&c,&l);
^
user.cpp:24:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
user.cpp:28:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
fscanf(fin,"%d%d",&arr[i],&bx);
^
user.cpp:23:36: 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:24:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%lld",&n,&c,&l);
^
user.cpp:28:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&arr[i],&bx);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Raspuns gresit | 0 |
2 | 0ms | 256kb | Raspuns gresit | 0 |
3 | 0ms | 256kb | Raspuns gresit | 0 |
4 | 0ms | 260kb | Raspuns gresit | 0 |
5 | 0ms | 256kb | Raspuns gresit | 0 |
6 | 0ms | 260kb | Raspuns gresit | 0 |
7 | 0ms | 256kb | Raspuns gresit | 0 |
8 | 0ms | 256kb | Raspuns gresit | 0 |
9 | 0ms | 252kb | Raspuns gresit | 0 |
10 | 0ms | 256kb | Raspuns gresit | 0 |
Punctaj total | 0 |