Pagini recente » Borderou de evaluare (job #1745062) | Borderou de evaluare (job #2607112) | Borderou de evaluare (job #503298) | Borderou de evaluare (job #2503595) | Borderou de evaluare (job #1295361)
Borderou de evaluare (job #1295361)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[150]’ [-Wformat=]
{fscanf(f,"%s",&s);
^
user.cpp:40:10: warning: unused variable ‘ii’ [-Wunused-variable]
{int i,j,ii,jj;
^
user.cpp:40:13: warning: unused variable ‘jj’ [-Wunused-variable]
{int i,j,ii,jj;
^
user.cpp:41:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&n,&m);
^
user.cpp:43:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 484kb | OK | 10 |
5 | 0ms | 488kb | OK | 10 |
6 | 0ms | 416kb | OK | 10 |
7 | 0ms | 468kb | OK | 10 |
8 | 0ms | 424kb | OK | 10 |
9 | 0ms | 408kb | OK | 10 |
10 | 0ms | 484kb | OK | 10 |
Punctaj total | 100 |