Pagini recente » Borderou de evaluare (job #1787990) | Borderou de evaluare (job #959287) | Borderou de evaluare (job #1939340) | Borderou de evaluare (job #3247221) | Borderou de evaluare (job #1937311)
Borderou de evaluare (job #1937311)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&w,&h,&n);
^
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:13:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("intersectii.in","r",stdin);
^
user.cpp:7:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("intersectii.out","w",stdout);
^
user.cpp:8:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&w,&h,&n);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Incorect | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 448kb | Incorect | 0 |
4 | 0ms | 460kb | Incorect | 0 |
5 | 4ms | 472kb | Incorect | 0 |
6 | 8ms | 500kb | Incorect | 0 |
7 | 0ms | 420kb | Incorect | 0 |
8 | 0ms | 420kb | Incorect | 0 |
9 | 0ms | 456kb | Incorect | 0 |
10 | 0ms | 420kb | Incorect | 0 |
Punctaj total | 0 |