Pagini recente » Borderou de evaluare (job #104815) | Borderou de evaluare (job #554128) | Borderou de evaluare (job #2093726) | Borderou de evaluare (job #241803) | Borderou de evaluare (job #1331250)
Borderou de evaluare (job #1331250)
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/cczVplhg.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 | OK | 10 |
3 | 0ms | 680kb | OK | 10 |
4 | 0ms | 644kb | OK | 10 |
5 | 0ms | 548kb | OK | 10 |
6 | 0ms | 312kb | OK | 10 |
7 | 0ms | 528kb | OK | 10 |
8 | 0ms | 304kb | OK | 10 |
9 | 0ms | 332kb | OK | 10 |
10 | 0ms | 736kb | OK | 10 |
Punctaj total | 100 |