Pagini recente » Borderou de evaluare (job #792868) | Borderou de evaluare (job #3216899) | Borderou de evaluare (job #1387627) | Borderou de evaluare (job #952426) | Borderou de evaluare (job #1417843)
Borderou de evaluare (job #1417843)
Raport evaluator
Compilare:
user.cpp: In function ‘void readdata()’:
user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&v[i].x,&v[i].y);
^
user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void writedata()’:
user.cpp:67:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(f,"%I64d",d);
^
user.cpp: In function ‘void readdata()’:
user.cpp:17:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:20:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Okay! | 10 |
2 | 0ms | 276kb | Okay! | 10 |
3 | 0ms | 300kb | Okay! | 10 |
4 | 0ms | 336kb | Okay! | 10 |
5 | 4ms | 416kb | Wrong answer | 0 |
6 | 8ms | 552kb | Wrong answer | 0 |
7 | 12ms | 660kb | Wrong answer | 0 |
8 | 36ms | 1168kb | Wrong answer | 0 |
9 | 52ms | 1600kb | Wrong answer | 0 |
10 | 68ms | 1840kb | Wrong answer | 0 |
Punctaj total | 40 |