Pagini recente » Borderou de evaluare (job #2388001) | Borderou de evaluare (job #894738) | Borderou de evaluare (job #965980) | Borderou de evaluare (job #1378892) | Borderou de evaluare (job #1680103)
Borderou de evaluare (job #1680103)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:16:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i", &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 ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(i<=n&&j<=n)if(x<=y){ printf("%i\n", x);x=baza(++i,3);} else { printf("%i\n", y);y=baza(++j,5);}
^
user.cpp:17:89: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(i<=n&&j<=n)if(x<=y){ printf("%i\n", x);x=baza(++i,3);} else { printf("%i\n", y);y=baza(++j,5);}
^
user.cpp:18:34: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(i<=n){ printf("%i\n", x); x=baza(++i,3);}
^
user.cpp:19:34: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(j<=n){ printf("%i\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("%i", &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 | 428kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 0ms | 424kb | OK | 10 |
6 | 0ms | 428kb | OK | 10 |
7 | 12ms | 428kb | OK | 10 |
8 | 928ms | 420kb | Incorect | 0 |
9 | 1276ms | 424kb | Incorect | 0 |
10 | 1340ms | 428kb | Incorect | 0 |
Punctaj total | 70 |