Pagini recente » Borderou de evaluare (job #2311608) | Borderou de evaluare (job #2141264) | Borderou de evaluare (job #3286488) | Borderou de evaluare (job #1772572) | Borderou de evaluare (job #1333125)
Borderou de evaluare (job #1333125)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld",&N,&M);
^
user.cpp:8:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:9:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld",(N-1)*N/2-N+1-M);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dmin2.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dmin2.out","w",stdout);
^
user.cpp:8:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&N,&M);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 240kb | OK | 10 |
| 2 | 0ms | 244kb | OK | 10 |
| 3 | 0ms | 240kb | OK | 10 |
| 4 | 0ms | 240kb | OK | 10 |
| 5 | 0ms | 244kb | OK | 10 |
| 6 | 0ms | 244kb | Incorect | 0 |
| 7 | 0ms | 244kb | Incorect | 0 |
| 8 | 0ms | 244kb | Incorect | 0 |
| 9 | 0ms | 244kb | Incorect | 0 |
| 10 | 0ms | 244kb | Incorect | 0 |
| Punctaj total | 50 |