Pagini recente » Borderou de evaluare (job #756231) | Borderou de evaluare (job #755843) | Borderou de evaluare (job #1410698) | Borderou de evaluare (job #1191514) | Borderou de evaluare (job #1262556)
Borderou de evaluare (job #1262556)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:13:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&y);
^
user.cpp:21:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:26:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&y);
^
user.cpp:6:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in","r",stdin);
^
user.cpp:8:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&y);
^
user.cpp:19:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in","r",stdin);
^
user.cpp:21:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 420kb | OK | 10 |
4 | 4ms | 416kb | OK | 10 |
5 | 28ms | 424kb | OK | 10 |
6 | 48ms | 416kb | OK | 10 |
7 | 112ms | 424kb | OK | 10 |
8 | 248ms | 424kb | OK | 10 |
9 | Depăşit | 268kb | Time limit exceeded. | 0 |
10 | Depăşit | 268kb | Time limit exceeded. | 0 |
Punctaj total | 80 |