Pagini recente » Borderou de evaluare (job #1007698) | Borderou de evaluare (job #248202) | Borderou de evaluare (job #1138424) | Borderou de evaluare (job #2919464) | Borderou de evaluare (job #1186434)
Borderou de evaluare (job #1186434)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:15: warning: unused variable ‘j’ [-Wunused-variable]
int x, t, i, j;
^
user.cpp:31:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen (InFile, "r", stdin);
^
user.cpp:32:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen (OutFile, "w", stdout);
^
user.cpp:33:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
user.cpp:37:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=49; i++) scanf ("%d", &x), v[x]++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 100 |
Punctaj total | 100 |