Pagini recente » Borderou de evaluare (job #1016694) | Borderou de evaluare (job #90519) | Borderou de evaluare (job #78809) | Borderou de evaluare (job #2716844) | Borderou de evaluare (job #1397598)
Borderou de evaluare (job #1397598)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&a[i]);
^
user.cpp:66:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld %ld",ansP1,ansP2);
^
user.cpp:66:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:20: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:21: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:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Incorect | 0 |
2 | 0ms | 440kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 448kb | Incorect | 0 |
5 | 32ms | 1220kb | Incorect | 0 |
6 | 32ms | 1220kb | Incorect | 0 |
7 | 32ms | 1216kb | Incorect | 0 |
8 | 308ms | 8244kb | Incorect | 0 |
9 | 304ms | 8248kb | Incorect | 0 |
10 | 324ms | 8248kb | Incorect | 0 |
Punctaj total | 0 |