Pagini recente » Borderou de evaluare (job #1876631) | Borderou de evaluare (job #889352) | Borderou de evaluare (job #1126764) | Borderou de evaluare (job #27135) | Borderou de evaluare (job #2089174)
Borderou de evaluare (job #2089174)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:26:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", k);
^
user.cpp:29:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(v[i]!=v[i+1]) printf("%d ", v[i]);
^
user.cpp:30:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", v[k]);
^
user.cpp:21:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lantaditiv.in", "r", stdin);
^
user.cpp:22:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lantaditiv.out", "w", stdout);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Fisier de iesire corupt! | 0 |
2 | 0ms | 436kb | Fisier de iesire corupt! | 0 |
3 | 0ms | 436kb | Raspuns gresit! | 0 |
4 | 0ms | 444kb | Raspuns gresit! | 0 |
5 | 0ms | 672kb | Raspuns gresit! | 0 |
6 | 8ms | 1144kb | Raspuns gresit! | 0 |
7 | 0ms | 444kb | Raspuns gresit! | 0 |
8 | 0ms | 440kb | Raspuns gresit! | 0 |
9 | 0ms | 444kb | Raspuns gresit! | 0 |
10 | 0ms | 440kb | Raspuns gresit! | 0 |
Punctaj total | 0 |