Pagini recente » Borderou de evaluare (job #119912) | Borderou de evaluare (job #2873833) | Borderou de evaluare (job #2109614) | Borderou de evaluare (job #2517329) | Borderou de evaluare (job #1975935)
Borderou de evaluare (job #1975935)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100]’ [-Wformat=]
fscanf(f,"%s",&s1);
^
user.cpp:11:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100]’ [-Wformat=]
fscanf(f,"%s",&s2);
^
user.cpp:53:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<=strlen(s)-1;i++)
^
user.cpp:10:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s1);
^
user.cpp:11:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s2);
^
user.cpp:16:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&n);
^
user.cpp:19:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
| 4 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
| 5 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
| 6 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 0ms | 348kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 0ms | 364kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 0ms | 272kb | OK | 10 |
| Punctaj total | 30 |