Pagini recente » Borderou de evaluare (job #54841) | Borderou de evaluare (job #1527503) | Borderou de evaluare (job #1609535) | Borderou de evaluare (job #444484) | Borderou de evaluare (job #1838413)
Borderou de evaluare (job #1838413)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[129]’ [-Wformat=]
scanf("%s", &a[i]);
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila.in", "r", stdin);
^
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila.out", "w", stdout);
^
user.cpp:22:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 712kb | OK | 10 |
4 | 0ms | 704kb | OK | 10 |
5 | 0ms | 640kb | OK | 10 |
6 | 0ms | 372kb | OK | 10 |
7 | 0ms | 600kb | OK | 10 |
8 | 0ms | 352kb | OK | 10 |
9 | 0ms | 392kb | OK | 10 |
10 | 0ms | 936kb | OK | 10 |
Punctaj total | 100 |