Pagini recente » Borderou de evaluare (job #158748) | Borderou de evaluare (job #1770908) | Borderou de evaluare (job #2576989) | Borderou de evaluare (job #826525) | Borderou de evaluare (job #1958315)
Borderou de evaluare (job #1958315)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(a<b&&pa<=n)printf("%d\n",a),ok=1;
^
user.cpp:14:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else if(pb<=n)printf("%d\n",b),ok=0;
^
user.cpp:15:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d\n",a);
^
user.cpp:8: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:9: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:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 260kb | OK | 10 |
7 | 8ms | 260kb | OK | 10 |
8 | 704ms | 264kb | Incorect | 0 |
9 | 964ms | 264kb | Incorect | 0 |
10 | 1020ms | 260kb | Incorect | 0 |
Punctaj total | 70 |