Pagini recente » Borderou de evaluare (job #1953704) | Borderou de evaluare (job #2725881) | Borderou de evaluare (job #446124) | Borderou de evaluare (job #102975) | Borderou de evaluare (job #1340003)
Borderou de evaluare (job #1340003)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:24:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:59:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d",P1,P2);
^
user.cpp:59:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp: In function ‘long long int mx(long long int, long long int, long long int)’:
user.cpp:10:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘long long int mn(long long int, long long int, long long int)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.out","w",stdout);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 20ms | 1032kb | Incorect | 0 |
6 | 20ms | 1036kb | Incorect | 0 |
7 | 20ms | 1036kb | Incorect | 0 |
8 | 208ms | 8060kb | Incorect | 0 |
9 | 232ms | 8064kb | Incorect | 0 |
10 | 224ms | 8064kb | Incorect | 0 |
Punctaj total | 0 |