Pagini recente » Borderou de evaluare (job #1684571) | Borderou de evaluare (job #1005523) | Borderou de evaluare (job #2945754) | Borderou de evaluare (job #1057310) | Borderou de evaluare (job #1331249)
Borderou de evaluare (job #1331249)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d ", &m, &n);
^
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void Compute_Area(int, int)’:
user.cpp:43:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, p = 0;
^
user.cpp:43:15: warning: unused variable ‘p’ [-Wunused-variable]
int i, j, p = 0;
^
user.cpp: In function ‘void Read()’:
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &m, &n);
^
user.cpp:17:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc5wx1ez.o: In function `Read()':
user.cpp:(.text+0x5c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 680kb | OK | 10 |
4 | 0ms | 640kb | OK | 10 |
5 | 0ms | 552kb | OK | 10 |
6 | 0ms | 316kb | OK | 10 |
7 | 0ms | 528kb | Incorect | 0 |
8 | 0ms | 304kb | OK | 10 |
9 | 0ms | 324kb | OK | 10 |
10 | 0ms | 732kb | OK | 10 |
Punctaj total | 80 |