Pagini recente » Borderou de evaluare (job #3124301) | Borderou de evaluare (job #2896767) | Borderou de evaluare (job #1025901) | Borderou de evaluare (job #1745128) | Borderou de evaluare (job #1461385)
Borderou de evaluare (job #1461385)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:79:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[260]’ [-Wformat=]
scanf("%s\n", &s1);
^
user.cpp:80:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[260]’ [-Wformat=]
scanf("%s\n", &s2);
^
user.cpp:81:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < strlen(s1); ++ i)
^
user.cpp:88:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < strlen(s2); ++ i)
^
user.cpp:69:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in", "r", stdin);
^
user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w", stdout);
^
user.cpp:71:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:79:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s1);
^
user.cpp:80:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s2);
^
user.cpp: In function ‘int fact2(char*, int)’:
user.cpp:64:17: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return semn * val;
^
user.cpp:64:17: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 248kb | Incorect | 0 |
4 | 0ms | 252kb | Incorect | 0 |
5 | 0ms | 252kb | Incorect | 0 |
6 | Depăşit | 252kb | Time limit exceeded. | 0 |
7 | 0ms | 252kb | Incorect | 0 |
8 | 0ms | 252kb | Incorect | 0 |
9 | 0ms | 252kb | Incorect | 0 |
10 | Depăşit | 252kb | Time limit exceeded. | 0 |
Punctaj total | 20 |