Pagini recente » Borderou de evaluare (job #3036338) | Borderou de evaluare (job #1032115) | Borderou de evaluare (job #1377027) | Borderou de evaluare (job #551107) | Borderou de evaluare (job #1261265)
Borderou de evaluare (job #1261265)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:28:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld",&a,&b,&c);
^
user.cpp:28:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:28:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:41:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (d!=0) if (c%d==0) printf("%d %d\n",x,y);
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid3.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid3.out","w",stdout);
^
user.cpp:25:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:28:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&a,&b,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 424kb | Raspuns Corect | 10 | 30 |
2 | 0ms | 436kb | Raspuns Corect | 10 |
3 | 0ms | 428kb | Raspuns Corect | 10 |
4 | 0ms | 432kb | Raspuns Corect | 10 | 10 |
5 | 0ms | 436kb | Raspuns Corect | 10 | 10 |
6 | 0ms | 436kb | Raspuns Corect | 10 | 10 |
7 | 0ms | 436kb | Raspuns Corect | 10 | 10 |
8 | 0ms | 428kb | Raspuns Corect | 10 | 10 |
9 | 0ms | 432kb | Raspuns Corect | 10 | 20 |
10 | 0ms | 436kb | Raspuns Corect | 10 |
Punctaj total | 100 |