Pagini recente » Borderou de evaluare (job #524981) | Borderou de evaluare (job #2223369) | Borderou de evaluare (job #96908) | Borderou de evaluare (job #2009597) | Borderou de evaluare (job #1292106)
Borderou de evaluare (job #1292106)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&T);
^
user.cpp:11:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:16:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&c[i]);
^
user.cpp:28:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("DA\n%d\n",inc),ok=1;
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("raliu.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("raliu.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 4ms | 296kb | Incorect | 0 |
4 | 148ms | 1204kb | Incorect | 0 |
5 | 248ms | 1828kb | Incorect | 0 |
6 | 360ms | 2608kb | Incorect | 0 |
7 | 1792ms | 9640kb | Incorect | 0 |
8 | 2400ms | 14328kb | Incorect | 0 |
9 | 2520ms | 14324kb | Incorect | 0 |
10 | 2736ms | 15888kb | Incorect | 0 |
Punctaj total | 0 |