Pagini recente » Borderou de evaluare (job #2591926) | Borderou de evaluare (job #203253) | Borderou de evaluare (job #3288874) | Borderou de evaluare (job #416927) | Borderou de evaluare (job #1421182)
Borderou de evaluare (job #1421182)
Raport evaluator
Compilare:
user.cpp: In function ‘void afis()’:
user.cpp:75:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", maxim[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.in", "r", stdin);
^
user.cpp:82:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.out", "w", stdout);
^
user.cpp:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:87:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:89:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &sir[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 116ms | 388kb | Incorect | 0 |
Punctaj total | 0 |