Pagini recente » Borderou de evaluare (job #2586578) | Borderou de evaluare (job #3039683) | Borderou de evaluare (job #312081) | Borderou de evaluare (job #2132478) | Borderou de evaluare (job #1359414)
Borderou de evaluare (job #1359414)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100]’ [-Wformat=]
scanf("%s%c",&s1,&ch);
^
user.cpp:38:15: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100]’ [-Wformat=]
scanf("%s",&s2);
^
user.cpp:53:14: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:56:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[101]’ [-Wformat=]
scanf("%s",&sir);
^
user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.in","r",stdin);
^
user.cpp:36:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.out","w",stdout);
^
user.cpp:37:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%c",&s1,&ch);
^
user.cpp:38:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s2);
^
user.cpp:53:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:56:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&sir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1412kb | Time limit exceeded. | 0 |
2 | 0ms | 1420kb | Killed by signal 11(SIGSEGV). | 0 |
3 | Depăşit | 1412kb | Time limit exceeded. | 0 |
4 | Depăşit | 1408kb | Time limit exceeded. | 0 |
5 | Depăşit | 1408kb | Time limit exceeded. | 0 |
6 | Depăşit | 1404kb | Time limit exceeded. | 0 |
7 | Depăşit | 1404kb | Time limit exceeded. | 0 |
8 | 0ms | 1420kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 1416kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 1424kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |