Pagini recente » Borderou de evaluare (job #2111248) | Borderou de evaluare (job #966688) | Borderou de evaluare (job #1639146) | Borderou de evaluare (job #616411) | Borderou de evaluare (job #1212347)
Borderou de evaluare (job #1212347)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:17:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&aux);
^
user.cpp:26:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",max1+max2);
^
user.cpp: In function ‘void openfiles()’:
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | Incorect | 0 |
| 2 | 0ms | 244kb | Incorect | 0 |
| 3 | 0ms | 248kb | Incorect | 0 |
| 4 | 0ms | 244kb | OK | 10 |
| 5 | 16ms | 244kb | Incorect | 0 |
| 6 | 40ms | 244kb | Incorect | 0 |
| 7 | 92ms | 248kb | Incorect | 0 |
| 8 | 140ms | 244kb | Incorect | 0 |
| 9 | 160ms | 244kb | Incorect | 0 |
| 10 | 176ms | 248kb | Incorect | 0 |
| Punctaj total | 10 |