Pagini recente » Borderou de evaluare (job #1830443) | Borderou de evaluare (job #1209782) | Borderou de evaluare (job #2756387) | Borderou de evaluare (job #2175594) | Borderou de evaluare (job #1208555)
Borderou de evaluare (job #1208555)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&n,&k,&m);nr_loc=k;
^
user.cpp:9:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:9:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:16:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:21:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&l);s+=l;gasit=0;
^
user.cpp:26:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
for(j=nr_loc+1;j<=x;j++) scanf("%d",&l);
^
user.cpp:32:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d\n",s,m/n);
^
user.cpp:32:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d\n",s,(m+maxim)/n);
^
user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:36:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
else printf("%d %d\n",s,(m+maxim)/n+1);}
^
user.cpp:36:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("turism.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("turism.out","w",stdout);
^
user.cpp:9:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&m);nr_loc=k;
^
user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:21:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&l);s+=l;gasit=0;
^
user.cpp:26:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=nr_loc+1;j<=x;j++) scanf("%d",&l);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 192kb | Killed by signal 8(SIGFPE). | 0 |
| 2 | 0ms | 196kb | Killed by signal 8(SIGFPE). | 0 |
| 3 | 0ms | 192kb | Killed by signal 8(SIGFPE). | 0 |
| 4 | 0ms | 192kb | Killed by signal 8(SIGFPE). | 0 |
| 5 | 0ms | 196kb | Killed by signal 8(SIGFPE). | 0 |
| 6 | 0ms | 196kb | Killed by signal 8(SIGFPE). | 0 |
| 7 | 0ms | 196kb | Killed by signal 8(SIGFPE). | 0 |
| 8 | 0ms | 196kb | Killed by signal 8(SIGFPE). | 0 |
| 9 | 0ms | 196kb | Killed by signal 8(SIGFPE). | 0 |
| 10 | 0ms | 196kb | Killed by signal 8(SIGFPE). | 0 |
| Punctaj total | 0 |