Pagini recente » Borderou de evaluare (job #1854267) | Borderou de evaluare (job #2040965) | Borderou de evaluare (job #1436678) | Borderou de evaluare (job #1552849) | Borderou de evaluare (job #1200450)
Borderou de evaluare (job #1200450)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d", &n, &m);
^
user.cpp:9:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:12:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d", &t[i],&nr_med);
^
user.cpp:12:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&x),l[i]|=1<<(x-1);
^
user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&c[i]);
^
user.cpp:33:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if((s>>i)&1)
^
user.cpp:26:9: warning: unused variable ‘pp’ [-Wunused-variable]
int pp=0;
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.in","r",stdin);
^
user.cpp:9:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:12:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t[i],&nr_med);
^
user.cpp:14:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x),l[i]|=1<<(x-1);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c[i]);
^
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 0ms | 272kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 100 |