Pagini recente » Borderou de evaluare (job #3190849) | Borderou de evaluare (job #2152365) | Borderou de evaluare (job #1972618) | Borderou de evaluare (job #1842671) | Borderou de evaluare (job #1680104)
Borderou de evaluare (job #1680104)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:16:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n); long long x,y,i,j; i=1; j=1; x=baza(i,3); y=baza(j,5);
^
user.cpp:17:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(i<=n&&j<=n)if(x<=y){ printf("%d\n", x);x=baza(++i,3);} else { printf("%d\n", y);y=baza(++j,5);}
^
user.cpp:17:89: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(i<=n&&j<=n)if(x<=y){ printf("%d\n", x);x=baza(++i,3);} else { printf("%d\n", y);y=baza(++j,5);}
^
user.cpp:18:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(i<=n){ printf("%d\n", x); x=baza(++i,3);}
^
user.cpp:19:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(j<=n){ printf("%d\n", y); y=baza(++j,5);}
^
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.in", "r", stdin);
^
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.out", "w", stdout);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); long long x,y,i,j; i=1; j=1; x=baza(i,3); y=baza(j,5);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 424kb | OK | 10 |
| 2 | 0ms | 428kb | OK | 10 |
| 3 | 0ms | 424kb | OK | 10 |
| 4 | 0ms | 424kb | OK | 10 |
| 5 | 0ms | 428kb | OK | 10 |
| 6 | 0ms | 420kb | OK | 10 |
| 7 | 8ms | 428kb | OK | 10 |
| 8 | 932ms | 424kb | Incorect | 0 |
| 9 | 1264ms | 424kb | Incorect | 0 |
| 10 | 1352ms | 424kb | Incorect | 0 |
| Punctaj total | 70 |