Pagini recente » Borderou de evaluare (job #1651614) | Borderou de evaluare (job #1759365) | Borderou de evaluare (job #2457624) | Borderou de evaluare (job #1759363) | Borderou de evaluare (job #1247922)
Borderou de evaluare (job #1247922)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%ld", &v[i]);
^
user.cpp:59:13: warning: unused variable ‘j’ [-Wunused-variable]
long i, j;
^
user.cpp:60:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:61:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:62:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &n, &m);
^
user.cpp:64:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &v[i]);
^
user.cpp:68:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &c, &a);
^
user.cpp:70:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 4ms | 288kb | OK | 10 |
| 4 | 28ms | 412kb | OK | 10 |
| 5 | 68ms | 468kb | OK | 10 |
| 6 | 108ms | 644kb | OK | 10 |
| 7 | 112ms | 756kb | OK | 10 |
| 8 | 168ms | 840kb | OK | 10 |
| 9 | 160ms | 840kb | OK | 10 |
| 10 | 164ms | 844kb | OK | 10 |
| Punctaj total | 100 |