Pagini recente » Cod sursa (job #1593843) | Cod sursa (job #3177253) | Cod sursa (job #1466434) | Borderou de evaluare (job #1772321) | Borderou de evaluare (job #1206890)
Borderou de evaluare (job #1206890)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:33: warning: format ‘%lc’ expects argument of type ‘wchar_t*’, but argument 2 has type ‘unsigned char*’ [-Wformat=]
scanf("%lc",&m[i][j]);
^
user.cpp:18:10: warning: unused variable ‘x’ [-Wunused-variable]
char x;
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("figuri2.in","r",stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("figuri2.out","w",stdout);
^
user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:24:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lc",&m[i][j]);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 348kb | OK | 10 |
| 2 | 4ms | 388kb | OK | 10 |
| 3 | 4ms | 404kb | OK | 10 |
| 4 | 8ms | 432kb | OK | 10 |
| 5 | 8ms | 440kb | OK | 10 |
| 6 | 8ms | 440kb | OK | 10 |
| 7 | 8ms | 452kb | OK | 10 |
| 8 | 12ms | 460kb | OK | 10 |
| 9 | 12ms | 464kb | OK | 10 |
| 10 | 12ms | 464kb | OK | 10 |
| Punctaj total | 100 |