Pagini recente » Borderou de evaluare (job #393932) | Borderou de evaluare (job #557569) | Borderou de evaluare (job #1871222) | Borderou de evaluare (job #831697) | Borderou de evaluare (job #2089167)
Borderou de evaluare (job #2089167)
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:28:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", v[i]);
^
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 | 444kb | Raspuns gresit! | 0 |
2 | 0ms | 444kb | Raspuns gresit! | 0 |
3 | 0ms | 448kb | Raspuns gresit! | 0 |
4 | 0ms | 452kb | Raspuns gresit! | 0 |
5 | 8ms | 680kb | Raspuns gresit! | 0 |
6 | 20ms | 1152kb | Raspuns gresit! | 0 |
7 | 0ms | 444kb | Raspuns gresit! | 0 |
8 | 0ms | 444kb | Raspuns gresit! | 0 |
9 | 0ms | 448kb | Raspuns gresit! | 0 |
10 | 0ms | 444kb | Raspuns gresit! | 0 |
Punctaj total | 0 |