Pagini recente » Borderou de evaluare (job #303796) | Borderou de evaluare (job #608850) | Borderou de evaluare (job #233554) | Borderou de evaluare (job #2585108) | Borderou de evaluare (job #2130803)
Borderou de evaluare (job #2130803)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:29:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=]
printf("%ld\n",nxt3);
^
user.cpp:34:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=]
printf("%ld\n",nxt5);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.in","r",stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.out","w",stdout);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1248kb | OK | 10 |
2 | 0ms | 1252kb | OK | 10 |
3 | 0ms | 1252kb | OK | 10 |
4 | 0ms | 1248kb | OK | 10 |
5 | 0ms | 1252kb | OK | 10 |
6 | 0ms | 1248kb | OK | 10 |
7 | 8ms | 1248kb | OK | 10 |
8 | 744ms | 1248kb | Incorect | 0 |
9 | 1036ms | 1252kb | Incorect | 0 |
10 | 1080ms | 1252kb | Incorect | 0 |
Punctaj total | 70 |