Pagini recente » Borderou de evaluare (job #868386) | Borderou de evaluare (job #2097184) | Borderou de evaluare (job #1890428) | Borderou de evaluare (job #1376735) | Borderou de evaluare (job #1389197)
Borderou de evaluare (job #1389197)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39: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:39:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
user.cpp:43: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:38: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:39: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:43: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 | 256kb | Raspuns gresit | 0 |
2 | 0ms | 260kb | Raspuns gresit | 0 |
3 | 0ms | 260kb | Raspuns gresit | 0 |
4 | 0ms | 260kb | Raspuns gresit | 0 |
5 | 0ms | 260kb | Raspuns gresit | 0 |
6 | Depăşit | 244kb | Time limit exceeded. | 0 |
7 | Depăşit | 244kb | Time limit exceeded. | 0 |
8 | Depăşit | 240kb | Time limit exceeded. | 0 |
9 | Depăşit | 240kb | Time limit exceeded. | 0 |
10 | Depăşit | 240kb | Time limit exceeded. | 0 |
Punctaj total | 0 |