Pagini recente » Borderou de evaluare (job #653321) | Borderou de evaluare (job #1238849) | Borderou de evaluare (job #2402570) | Borderou de evaluare (job #1013244) | Borderou de evaluare (job #1791328)
Borderou de evaluare (job #1791328)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &d[0]);
^
user.cpp:40:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf(" %d", &d[i]);
^
user.cpp:35:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in","r",stdin);
^
user.cpp:36:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out","w",stdout);
^
user.cpp:37:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:38:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &d[0]);
^
user.cpp:40:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d", &d[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 468kb | OK | 10 |
3 | 0ms | 516kb | OK | 10 |
4 | 0ms | 600kb | OK | 10 |
5 | 0ms | 640kb | OK | 10 |
6 | 4ms | 852kb | OK | 10 |
7 | 24ms | 1284kb | OK | 10 |
8 | 84ms | 1716kb | OK | 10 |
9 | 192ms | 2152kb | OK | 10 |
10 | 380ms | 2580kb | OK | 10 |
Punctaj total | 100 |