Pagini recente » Borderou de evaluare (job #1022222) | Borderou de evaluare (job #117407) | Borderou de evaluare (job #581961) | Borderou de evaluare (job #455432) | Borderou de evaluare (job #1393502)
Borderou de evaluare (job #1393502)
Raport evaluator
Compilare:
user.cpp: In function ‘int getRemainder(long long int)’:
user.cpp:26:12: warning: unused variable ‘rem’ [-Wunused-variable]
int i, rem = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:66:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld\n", rem);
^
user.cpp:43:9: warning: unused variable ‘n’ [-Wunused-variable]
int n, i, j, last;
^
user.cpp:43:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, last;
^
user.cpp:40:32: 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:41:34: 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:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &p);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:64:32: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int rem = getRemainder(last);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | Incorect | 0 | 0 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 | 0 |
4 | 0ms | 292kb | Incorect | 0 | 0 |
5 | 0ms | 292kb | Incorect | 0 | 0 |
6 | 20ms | 644kb | Incorect | 0 | 0 |
7 | 24ms | 644kb | Incorect | 0 | 0 |
8 | 24ms | 640kb | Incorect | 0 | 0 |
9 | 4ms | 336kb | Incorect | 0 | 0 |
10 | 28ms | 640kb | Incorect | 0 | 0 |
Punctaj total | 0 |