Pagini recente » Borderou de evaluare (job #2453287) | Borderou de evaluare (job #286741) | Borderou de evaluare (job #1052188) | Borderou de evaluare (job #431662) | Borderou de evaluare (job #1273751)
Borderou de evaluare (job #1273751)
Raport evaluator
Compilare:
user.cpp: In function ‘void Mult(long unsigned int*, long unsigned int)’:
user.cpp:10:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=1;i<=H[0];i++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d",H[H[0]]);
^
user.cpp:36:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
if (H[i]>=1000) printf("%d",H[i]);else
^
user.cpp:37:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
if (H[i]>=100) printf("0%d",H[i]);else
^
user.cpp:38:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
if (H[i]>=10) printf("00%d",H[i]);else
^
user.cpp:39:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("000%d",H[i]);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tamplar.in","r",stdin);
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tamplar.out","w",stdout);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 0ms | 252kb | OK | 10 |
7 | 0ms | 248kb | OK | 10 |
8 | 12ms | 260kb | Incorect | 0 |
9 | 68ms | 268kb | Incorect | 0 |
10 | 120ms | 284kb | Incorect | 0 |
Punctaj total | 70 |