Pagini recente » Borderou de evaluare (job #2148075) | Borderou de evaluare (job #2611669) | Borderou de evaluare (job #827362) | Borderou de evaluare (job #2862014) | Borderou de evaluare (job #1639347)
Borderou de evaluare (job #1639347)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste()’:
user.cpp:28:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &sir[j]);
^
user.cpp: In function ‘void scrie()’:
user.cpp:44:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d", maxim);
^
user.cpp: In function ‘void citeste()’:
user.cpp:20:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.in", "r", stdin);
^
user.cpp:21:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.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);
^
user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &sir[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 268kb | OK | 10 |
4 | 8ms | 360kb | Incorect | 0 |
5 | 16ms | 472kb | Incorect | 0 |
6 | 16ms | 656kb | Incorect | 0 |
7 | 40ms | 844kb | Incorect | 0 |
8 | 56ms | 944kb | Incorect | 0 |
9 | 48ms | 1000kb | Incorect | 0 |
10 | 56ms | 1048kb | Incorect | 0 |
Punctaj total | 10 |