Pagini recente » Borderou de evaluare (job #1039471) | Borderou de evaluare (job #754697) | Borderou de evaluare (job #2589763) | Borderou de evaluare (job #1621995) | Borderou de evaluare (job #1297676)
Borderou de evaluare (job #1297676)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:19:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &p1[i]);
^
user.cpp:22:55: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &p2[i]);
^
user.cpp:6:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname.in", "r", stdin);
^
user.cpp:7:51: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname.out", "w", stdout);
^
user.cpp:9:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:19:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p1[i]);
^
user.cpp:22:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p2[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 228ms | 2216kb | OK | 10 |
6 | 224ms | 2212kb | OK | 10 |
7 | 224ms | 2212kb | OK | 10 |
8 | 220ms | 2216kb | OK | 10 |
9 | 208ms | 2220kb | OK | 10 |
10 | 196ms | 2216kb | OK | 10 |
Punctaj total | 100 |