Pagini recente » Borderou de evaluare (job #995046) | Borderou de evaluare (job #1943850) | Borderou de evaluare (job #2947) | Borderou de evaluare (job #2636056) | Borderou de evaluare (job #2027329)
Borderou de evaluare (job #2027329)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:135:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f,"%d", &t);
^
user.cpp:139:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[502]’ [-Wformat=]
fscanf(f,"%s", &s);
^
user.cpp:135:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d", &t);
^
user.cpp:139:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s", &s);
^
user.cpp: In function ‘int verifica(char*, int)’:
user.cpp:72:19: warning: ‘m[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(x==1 && m[x]==3)
^
user.cpp:18:16: warning: ‘*((void*)& m +1)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(n[i]!=0)
^
user.cpp:71:10: note: ‘m’ was declared here
char m[502];
^
user.cpp:74:35: warning: ‘m[x]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(final(m,x-1)==0 && m[x]==3)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 280kb | Incorect | 0 |
6 | 28ms | 276kb | Incorect | 0 |
7 | 152ms | 276kb | Incorect | 0 |
8 | 20ms | 272kb | Incorect | 0 |
9 | 144ms | 280kb | Incorect | 0 |
10 | 56ms | 280kb | Incorect | 0 |
Punctaj total | 0 |