Pagini recente » Borderou de evaluare (job #385875) | Borderou de evaluare (job #729629) | Borderou de evaluare (job #1948216) | Borderou de evaluare (job #2301581) | Borderou de evaluare (job #1264360)
Borderou de evaluare (job #1264360)
Raport evaluator
Compilare:
user.cpp: In function ‘void afisare(int, int)’:
user.cpp:31:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", a[w]);
^
user.cpp: In function ‘int main()’:
user.cpp:43:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | Lungime incorecta! | 0 | 0 |
2 | 0ms | 368kb | Corect! | 10 | 10 |
3 | 0ms | 260kb | Corect! | 10 | 10 |
4 | 0ms | 264kb | Corect! | 10 | 10 |
5 | 0ms | 264kb | Corect! | 10 | 10 |
6 | 0ms | 276kb | Corect! | 10 | 10 |
7 | 0ms | 280kb | Corect! | 10 | 10 |
8 | 52ms | 1052kb | Corect! | 10 | 30 |
9 | 36ms | 1032kb | Corect! | 10 |
10 | 36ms | 1052kb | Corect! | 10 |
Punctaj total | 90 |